Repository navigation
Spec 013: C# Assertion Extraction - #184
Merged
Merged
Conversation
Spec-Runner: spec=013 step=claim
… phase 1) Spec-Runner: spec=013 phase=1 step=implement
Spec-Runner: spec=013 phase=1 step=fix-1
…asked first Spec-Runner: spec=013 phase=1 step=fix-2
A no that leaned on a method still being probed was recomputed on every path through the call graph, so a cluster of mutually calling, non-asserting methods took factorial time. Such nos now wait on the probe they lean on: reused while it runs, cached when it ends with no, dropped when it ends with yes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n-extraction/1-engine-xunit feat(analyzers): extract C# assertions with the xUnit table (spec 013 phase 1)
Spec-Runner: spec=013 phase=2 step=implement
…t a comparer Spec-Runner: spec=013 phase=2 step=fix-1
…n-extraction/2-nunit-mstest feat(analyzers): extract NUnit and MSTest assertions (spec 013 phase 2)
…ec 013 phase 3) Adds the chain (`x.Should().Be(3).And…`) and name-prefix (`x.ShouldBe(3)`) entry points, the fluentassertions and shouldly tables, Invoking/Awaiting throws subjects, and the fluentassertions and shouldly fixture folders. Spec-Runner: spec=013 phase=3 step=implement
…ads that follow an optional slot Spec-Runner: spec=013 phase=3 step=fix-1
…lue and document ShouldBeOneOf's message overload Spec-Runner: spec=013 phase=3 step=fix-2
…ression positions A named-argument label, an anonymous member name or a type with the parameter's name can't hold a parenthesized expression; the rewriter threw InvalidCastException on them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n-extraction/3-fluent feat(analyzers): extract FluentAssertions and Shouldly assertions (spec 013 phase 3)
…s (spec 013 phase 4) Add the moq, nsubstitute and fakeiteasy tables with the times sub-table, the verification, received and call-to entry points, calls roots (§8.4), using gating for Moq and NSubstitute, and the moq, nsubstitute and fakeiteasy fixture folders. Spec-Runner: spec=013 phase=4 step=implement
…n-extraction/4-mocks feat(analyzers): extract Moq, NSubstitute and FakeItEasy verifications (spec 013 phase 4)
…acts and correct the fixtures (spec 013 phase 5) Spec-Runner: spec=013 phase=5 step=implement
…n-extraction/5-facts test(analyzers): check the C# analyzer's assertions against samples/facts and correct the fixtures (spec 013 phase 5)
Spec-Runner: spec=013 step=done
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.
Spec 013 (docs/specs/core/013-csharp-assertion-extraction.md): C# Assertion Extraction. Built by spec-runner; a human merges this PR.
Phase PRs
Acceptance (criteria from docs/specs/work-breakdown.md)
samples/facts/fixture (after the corrections the spec lists).Follow-ups created
None.