Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "test-file",
|
||||||
|
"description": "Generate comprehensive tests for a specific file",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"author": {
|
||||||
|
"name": " Anand Tyagi",
|
||||||
|
"url": "https://github.com/ananddtyagi"
|
||||||
|
},
|
||||||
|
"commands": [
|
||||||
|
"./commands"
|
||||||
|
]
|
||||||
|
}
|
||||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# test-file
|
||||||
|
|
||||||
|
Generate comprehensive tests for a specific file
|
||||||
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
|
||||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||||
|
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/test-file",
|
||||||
|
"normalized": {
|
||||||
|
"repo": null,
|
||||||
|
"ref": "refs/tags/v20251128.0",
|
||||||
|
"commit": "60a7741512e4df6f8941dfd495b49ea6f327042c",
|
||||||
|
"treeHash": "cf6b1911b73f82fe664050966a2f8aa5d3ca0fc55857c277e093dc592f10580b",
|
||||||
|
"generatedAt": "2025-11-28T10:14:35.003268Z",
|
||||||
|
"toolVersion": "publish_plugins.py@0.2.0"
|
||||||
|
},
|
||||||
|
"origin": {
|
||||||
|
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||||
|
"branch": "master",
|
||||||
|
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||||
|
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||||
|
},
|
||||||
|
"manifest": {
|
||||||
|
"name": "test-file",
|
||||||
|
"description": "Generate comprehensive tests for a specific file",
|
||||||
|
"version": "1.0.0"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"path": "README.md",
|
||||||
|
"sha256": "56ca270cb7667161f274f7c85065d00f1a629dc53120d60208c1ed513356fd1b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": ".claude-plugin/plugin.json",
|
||||||
|
"sha256": "f236d859b36c32935d05dad54230cd6d48f6d25af722126b2f77201846decc30"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "commands/test-file.md",
|
||||||
|
"sha256": "a0269eb6119b44b0caffdcba2ff812ef332256edb44c4b529e09390586023994"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dirSha256": "cf6b1911b73f82fe664050966a2f8aa5d3ca0fc55857c277e093dc592f10580b"
|
||||||
|
},
|
||||||
|
"security": {
|
||||||
|
"scannedAt": null,
|
||||||
|
"scannerVersion": null,
|
||||||
|
"flags": []
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user