Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: exp-dotnet-test-frameworks
description: "Reference data for .NET test framework detection patterns, assertion APIs, skip annotations, setup/teardown methods, and common test smell indicators across MSTest, xUnit, NUnit, and TUnit. DO NOT USE directly — loaded by test analysis skills (exp-test-smell-detection, exp-assertion-quality, exp-test-maintainability, exp-test-tagging) when they need framework-specific lookup tables."
description: "Reference data for .NET test framework detection patterns, assertion APIs, skip annotations, setup/teardown methods, and common test smell indicators across MSTest, xUnit, NUnit, and TUnit. Loaded by test analysis skills (exp-test-smell-detection, exp-assertion-quality, exp-test-maintainability, exp-test-tagging) as framework-specific lookup tables."
user-invocable: false
license: MIT
---
Expand Down
2 changes: 1 addition & 1 deletion plugins/dotnet-test/skills/dotnet-test-frameworks/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: dotnet-test-frameworks
description: "Reference data for .NET test framework detection patterns, assertion APIs, skip annotations, setup/teardown methods, and common test smell indicators across MSTest, xUnit, NUnit, and TUnit. DO NOT USE directly — loaded by test analysis skills (test-anti-patterns, exp-test-smell-detection, exp-assertion-quality, exp-test-maintainability, exp-test-tagging) when they need framework-specific lookup tables."
description: "Reference data for .NET test framework detection patterns, assertion APIs, skip annotations, setup/teardown methods, and common test smell indicators across MSTest, xUnit, NUnit, and TUnit. Loaded by test analysis skills (test-anti-patterns) as framework-specific lookup tables."
user-invocable: false
license: MIT
---
Expand Down
6 changes: 6 additions & 0 deletions tests/dotnet-test/dotnet-test-frameworks/eval.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
scenarios:
- name: "Cross-framework assertion equivalence mapping"
expect_activation: false
prompt: |
I have these MSTest assertions in my test file and I need to know their equivalents in both xUnit and NUnit. Please provide a complete mapping for all six:

Expand Down Expand Up @@ -40,6 +41,7 @@ scenarios:
timeout: 120

- name: "Identify TUnit framework and its unique attributes"
expect_activation: false
prompt: |
I inherited a project with this test file and I'm not sure what testing framework it uses.
Can you identify it and explain the key attributes?
Expand Down Expand Up @@ -89,6 +91,7 @@ scenarios:
timeout: 120

- name: "Replace try-catch with framework-native exception assertions"
expect_activation: false
prompt: |
My team lead says these tests should use proper exception assertions instead of try/catch.
Can you refactor each one using its framework's native approach?
Expand Down Expand Up @@ -163,6 +166,7 @@ scenarios:
timeout: 120

- name: "Skip annotations across all four frameworks"
expect_activation: false
prompt: |
I maintain a solution with test projects using MSTest, xUnit, NUnit, and TUnit.
I need to temporarily skip some tests in each project with a reason message explaining why.
Expand Down Expand Up @@ -192,6 +196,7 @@ scenarios:
timeout: 120

- name: "Convert NUnit lifecycle methods to xUnit equivalents"
expect_activation: false
prompt: |
I'm migrating this NUnit test class to xUnit. How should I convert the setup and teardown methods?

Expand Down Expand Up @@ -252,6 +257,7 @@ scenarios:
timeout: 120

- name: "Identify integration tests by markers and code patterns"
expect_activation: false
prompt: |
I have a test solution with hundreds of tests. I need to separate integration tests from
unit tests for CI pipeline optimization. Here are samples from three projects — which ones
Expand Down