Repository navigation
test: contract tests for Meta, Roles and Block Bindings (before their extraction) - #487
Merged
Merged
Conversation
…ndings A snapshot of every class under src/Meta, src/Role and src/BlockBinding (name, parents, public and protected signatures, the fluent ones included), and three contract tests that run the real providers, the real Laravel container and real stores in memory: typed meta end to end, roles from attributes to stored capabilities, and Block Bindings over typed meta with the options a project lists in config. The extractions into packages must keep all of it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 0 of the extraction of
pollora/meta,pollora/rolesandpollora/block-bindings(plan:.claude/plans/meta-roles-bindings-packages.mdin pollora-test).PublicSurfaceTest: snapshot (surface.json) of the 88 types undersrc/Meta,src/Roleandsrc/BlockBinding: name, kind, parents, constants, public/protected signatures. A class that moves to a package keeps its name, so the snapshot must stay as it is; a deliberate signature change shows in the diff.TypedMetaContractTest,RolesContractTest,BlockBindingsContractTest: real provider, real container and validator, stores in memory (no mock of the objects under test).Checked by mutation (key naming, fluent return type, removals in the compiler, the config key of the options): each makes a test fail. Full suite, sequential: 1886 passed.
Tests only, no source change.