Files
common-skills/skills/testing/evals/evals.json
T
2026-03-26 21:00:51 +08:00

21 lines
823 B
JSON

{
"skill_name": "testing",
"evals": [
{
"id": 1,
"prompt": "How should I write a pytest test for a function that returns game state?",
"expected_output": "Shows AAA pattern (Arrange/Act/Assert), uses pytest assertions, and demonstrates clear test structure."
},
{
"id": 2,
"prompt": "Show me how to use pytest fixtures for shared test setup",
"expected_output": "Demonstrates @pytest.fixture decorator, fixture injection into test functions, and explains reuse across multiple tests."
},
{
"id": 3,
"prompt": "What should I test in a unit test? What should I avoid testing?",
"expected_output": "Recommends testing behavior/outputs not implementation details, covering happy path and edge cases, avoiding testing private internals."
}
]
}