Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/dotnet-test/dotnet-test-frameworks/eval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ scenarios:
assertions:
- type: "output_matches"
pattern: "\\[TestMethod\\].*Assert\\.Throws(Exactly)?<|Assert\\.Throws(Exactly)?<.*AreEqual"
- type: "output_matches"
pattern: "Assert\\.AreEqual\\([^)]*\\.Message"
- type: "output_matches"
pattern: "\\[Fact\\].*Assert\\.Throws<|Assert\\.Throws<.*Assert\\.Equal"
- type: "output_matches"
Expand All @@ -165,7 +167,7 @@ scenarios:
- "Replaced the MSTest try/catch with Assert.ThrowsExactly<T> or Assert.Throws<T>"
- "Replaced the xUnit try/catch with Assert.Throws<T>"
- "Replaced the NUnit try/catch with the constraint-model pattern or Assert.Throws<T>"
- "Preserved exception message verification in all three refactored versions"
- "Preserved exception message verification in all three refactored versions (e.g. `Assert.AreEqual(\"...\", ex.Message)` for MSTest)"
reject_tools: ["bash", "edit", "create"]
timeout: 120

Expand Down
Loading