mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 10:25:13 +00:00
Prototyping out some plugins
This commit is contained in:
10
plugins/testing-automation/.github/plugin/plugin.json
vendored
Normal file
10
plugins/testing-automation/.github/plugin/plugin.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "testing-automation",
|
||||
"description": "Comprehensive collection for writing tests, test automation, and test-driven development including unit tests, integration tests, and end-to-end testing strategies.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "Awesome Copilot Community"
|
||||
},
|
||||
"repository": "https://github.com/github/awesome-copilot",
|
||||
"license": "MIT"
|
||||
}
|
||||
44
plugins/testing-automation/README.md
Normal file
44
plugins/testing-automation/README.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Testing & Test Automation Plugin
|
||||
|
||||
Comprehensive collection for writing tests, test automation, and test-driven development including unit tests, integration tests, and end-to-end testing strategies.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
copilot plugin install github/awesome-copilot/plugins/testing-automation
|
||||
```
|
||||
|
||||
## Agents
|
||||
|
||||
| Agent | Description |
|
||||
|-------|-------------|
|
||||
| `tdd-red` | Write failing tests first (Red phase of TDD) |
|
||||
| `tdd-green` | Write minimal code to pass tests (Green phase of TDD) |
|
||||
| `tdd-refactor` | Refactor while keeping tests green (Refactor phase of TDD) |
|
||||
| `playwright-tester` | End-to-end testing with Playwright |
|
||||
|
||||
## Commands
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `/testing-automation:playwright-explore-website` | Explore a website with Playwright |
|
||||
| `/testing-automation:playwright-generate-test` | Generate Playwright tests |
|
||||
| `/testing-automation:csharp-nunit` | Generate C# NUnit tests |
|
||||
| `/testing-automation:java-junit` | Generate Java JUnit tests |
|
||||
| `/testing-automation:ai-prompt-engineering-safety-review` | Review AI prompts for safety |
|
||||
|
||||
## TDD Workflow
|
||||
|
||||
Use the three TDD agents in sequence:
|
||||
|
||||
1. `@tdd-red` - Write a failing test for the feature
|
||||
2. `@tdd-green` - Implement just enough code to pass
|
||||
3. `@tdd-refactor` - Clean up while tests stay green
|
||||
|
||||
## Source
|
||||
|
||||
Part of [Awesome Copilot](https://github.com/github/awesome-copilot).
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
1
plugins/testing-automation/agents/playwright-tester.md
Symbolic link
1
plugins/testing-automation/agents/playwright-tester.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../agents/playwright-tester.agent.md
|
||||
1
plugins/testing-automation/agents/tdd-green.md
Symbolic link
1
plugins/testing-automation/agents/tdd-green.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../agents/tdd-green.agent.md
|
||||
1
plugins/testing-automation/agents/tdd-red.md
Symbolic link
1
plugins/testing-automation/agents/tdd-red.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../agents/tdd-red.agent.md
|
||||
1
plugins/testing-automation/agents/tdd-refactor.md
Symbolic link
1
plugins/testing-automation/agents/tdd-refactor.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../agents/tdd-refactor.agent.md
|
||||
@@ -0,0 +1 @@
|
||||
../../../prompts/ai-prompt-engineering-safety-review.prompt.md
|
||||
1
plugins/testing-automation/commands/csharp-nunit.md
Symbolic link
1
plugins/testing-automation/commands/csharp-nunit.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/csharp-nunit.prompt.md
|
||||
1
plugins/testing-automation/commands/java-junit.md
Symbolic link
1
plugins/testing-automation/commands/java-junit.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/java-junit.prompt.md
|
||||
@@ -0,0 +1 @@
|
||||
../../../prompts/playwright-explore-website.prompt.md
|
||||
1
plugins/testing-automation/commands/playwright-generate-test.md
Symbolic link
1
plugins/testing-automation/commands/playwright-generate-test.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../prompts/playwright-generate-test.prompt.md
|
||||
Reference in New Issue
Block a user