Repository navigation
Spec 015: C# Skip & Disabled-Test Extraction - #193
Merged
Merged
Conversation
Spec-Runner: spec=015 step=claim
…e 1) Add Skips/skips.json with its loader and validator, and SkipExtractor: test and data attributes, class attributes, named arguments and modifiers, runtime skip calls and throws in the body, verbatim reasons, reach (conditional, swallowed) and precedence. Add SkipFact.Cases, a case skip to the facts catalog, and the samples/skips fixtures. Move Spec 014's name lookup into Timeouts/NameLookup so both folders share it. Spec-Runner: spec=015 phase=1 step=implement
…r table shape rules (spec 015 phase 1) Spec-Runner: spec=015 phase=1 step=fix-1
…raction/1-skips feat(analyzers): read C# skips from a reviewable table (spec 015 phase 1)
… attribute removed (spec 015 phase 2) Comment runs between members are uncommented and parsed one member at a time; outermost constant-false #if branches are parsed as class members; a method that lost its test attribute (or an MSTest class that lost [TestClass]) is attributeRemoved against the old side. Disabled tests carry name, fingerprint, span, disabled, suppressions and body only, and a disabled copy next to a live test of the same name is dropped. The attached-block walk stops at members kept from comment runs, in the facts and the identity scan alike. Spec-Runner: spec=015 phase=2 step=implement
…drop fingerprint diagnostics of disabled tests (spec 015 phase 2) Spec-Runner: spec=015 phase=2 step=fix-1
…rective is live (spec 015 phase 2) Spec-Runner: spec=015 phase=2 step=fix-2
…entity scan The attached-block walk passes over /// lines, so the scan must parse a commented member that ends above them, as the facts do; otherwise the live test took the commented test's fingerprint in the scan only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he identity scan The attached-block walk crosses any mix of // and /// lines, so a run ending anywhere in that block must be parsed in the scan, as in the facts; a marker between a doc comment and the test hid the commented test above them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…raction/2-disabled feat(analyzers): read disabled C# tests: commented out, compiled out, attribute removed (spec 015 phase 2)
SkipExtractor now takes the test's ExtractedAssertions and reads the bodies of the helpers Spec 013 followed, once per call site. Reasons fold helper parameters in the caller's scope; skipWhen literals are read after substitution; reach is read inside the helper and at the call site (a swallowing catch at either means no skip). A helper's skip keeps its span in the helper and sorts at its call site. Spec-Runner: spec=015 phase=3 step=implement
…pec 015 phase 3) Spec-Runner: spec=015 phase=3 step=fix-1
… body as no skip (spec 015 phase 3) Spec-Runner: spec=015 phase=3 step=fix-2
…raction/3-helpers feat(analyzers): read skips in same-file helpers (spec 015 phase 3)
Spec-Runner: spec=015 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 015 (docs/specs/core/015-csharp-skip-extraction.md): C# Skip & Disabled-Test Extraction. Built by spec-runner; a human merges this PR.
Phase PRs
Acceptance (criteria from docs/specs/work-breakdown.md)
samples/facts/fixture.Follow-ups created
None.