Initial commit
This commit is contained in:
20
commands/test-file.md
Normal file
20
commands/test-file.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
allowed-tools: Bash(find:*), Bash(ls:*)
|
||||
description: Generate comprehensive tests for a specific file
|
||||
---
|
||||
|
||||
## Your task
|
||||
|
||||
Generate comprehensive unit tests for the file: @$ARGUMENTS
|
||||
|
||||
Requirements:
|
||||
- Use the existing testing framework in this project
|
||||
- Include edge cases and error scenarios
|
||||
- Follow the project's testing conventions
|
||||
- Aim for high test coverage
|
||||
- Include both positive and negative test cases
|
||||
|
||||
## Project context
|
||||
|
||||
- Existing test files: !`find . -name "*.test.*" -o -name "*.spec.*" | head -10`
|
||||
- Package.json testing setup: @package.json
|
||||
Reference in New Issue
Block a user