feat: 26 - Add unit test skills: write, review, and standards#28
Open
miroslavpojer wants to merge 12 commits into
Hidden character warning
The head ref may contain hidden characters: "feature/26-Implement-skill-\u2014-test-unit-standards"
Open
feat: 26 - Add unit test skills: write, review, and standards#28miroslavpojer wants to merge 12 commits into
miroslavpojer wants to merge 12 commits into
Conversation
…ixture management, and isolation violations
…nd coverage summaries - Revised evals in `test-unit-standards/evals/evals.json` to focus on reference guidance rather than file audits. - Updated fixture mappings in `fixture-map.md` to reflect new eval structure and purpose. - Enhanced coverage summaries to accurately represent the number of tests and categories. - Adjusted trigger evals in `trigger-eval.json` to align with the new focus on standards and conventions. - Consolidated notes and explanations to clarify the role of the standards skill in relation to test writing and auditing.
…, and writing processes
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.
New Skills in This Branch
test-unit-standards
Comprehensive reference for unit test standards across isolation, scope, naming, assertions, coverage, and fixtures. Language-specific guidance (pytest, Jest, MUnit) with principles and conventions. Triggers on abstract questions ("what are our standards", "naming convention", "best practices", "fixture reuse"). Loads language references and systematically confirms compliance for each standard category.
test-unit-write
Generates unit tests following language-specific standards (pytest, Jest, MUnit). Workflow: load language reference, analyze source for public API and I/O boundaries, select mock strategy (stub/patch/inject), then generate test cases covering happy paths and failure conditions. Output respects framework idioms: fixture scoping (function/class/module), assertion patterns, parametrization syntax. Integrates with test doubles guidance for HTTP, DB, file, clock, and randomness mocking.
test-unit-review
Systematically audits unit test suites against isolation, mocking, naming, assertions, and coverage standards. Executes test runner first (pytest/Jest/MUnit) to surface runtime failures as blockers. Categorizes violations by severity (blocker/important/nit) with standards-grounded feedback. Loads language-specific reference documents and checks each standard in sequence before outputting consolidated report.
Closes #26