Repository navigation
Spec 014: C# Timeout Extraction - #190
Merged
Merged
Conversation
Spec-Runner: spec=014 step=claim
…urces, waits and delay races (spec 014 phase 1) Adds the embedded timeout pattern table with its loader and validation, the value folder (literals, TimeSpan forms, arithmetic, same-file locals, fields and properties), and the extractor for framework attributes (xUnit, NUnit incl. class attributes, MSTest), CancellationTokenSource/CancelAfter, WaitAsync/Wait/WaitOne/WaitAll/WaitAny and Task.WhenAny delay races. CSharpTestAnalyzer now fills `timeouts`. Fixtures under samples/timeouts/. Spec-Runner: spec=014 phase=1 step=implement
… skip argument is unresolved (spec 014 phase 1) Spec-Runner: spec=014 phase=1 step=fix-1
…extraction/1-engine feat(analyzers): extract C# timeouts from attributes, cancellation sources, waits and delay races (spec 014 phase 1)
… and helper timeouts in C# (spec 014 phase 2) Spec 013's extractor hands Spec 014 the helpers it followed and, per recognized assertion, its upper bounds, condition comparisons and NUnit constraint. The timeout extractor reads elapsed upper bounds (§8.1-§8.2) with the assertion's span and the elapsed root as subject, completion checks (§8.3), NUnit .After(n) and FluentAssertions NotThrowAfter polling (§9), and helper limits once per call site with parameters folded as the caller's arguments (§10). TimeoutFact gains an optional Subject. §8.5 stays a TODO(spec) until Spec 085 adds ExpectedValue.Resolved. Spec-Runner: spec=014 phase=2 step=implement
…ved (spec 014 phase 2) Spec-Runner: spec=014 phase=2 step=fix-1
…extraction/2-assertions feat(analyzers): read elapsed-time bounds, completion checks, polling and helper timeouts in C# (spec 014 phase 2)
Spec-Runner: spec=014 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 014 (docs/specs/core/014-csharp-timeout-extraction.md): C# Timeout 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.