testing-automation — GitHub Copilot plugin: setup and usage
Testing toolkit for GitHub Copilot that brings TDD subagents, Playwright browser test generation, and test patterns for NUnit and JUnit 5.
copilot plugin install testing-automation@awesome-copilotWhat testing-automation does
The plugin equips GitHub Copilot with five slash commands and four specialized subagents. It handles testing workflows directly. The commands generate Playwright test scripts, provide best practices for JUnit 5 and NUnit data-driven suites, and inspect AI prompts for bias or safety flaws.
Test-driven development is structured around three agents. First, tdd-red writes a failing test using context from a GitHub issue. Next, tdd-green provides minimal code to pass the test without over-engineering. Then, tdd-refactor polishes code quality while keeping the test suite green. An extra playwright-tester agent handles end-to-end browser execution.
Browser exploration commands depend directly on Playwright MCP. They will fail if the Playwright MCP server is not configured in your environment.
What it helps with
- run red-green-refactor TDD cycles directly from GitHub issue requirements
- generate end-to-end Playwright tests from natural language scenarios
- apply best practices for data-driven testing in JUnit 5 and NUnit
- audit AI prompts for security flaws, safety, and bias
Example prompts for the agent
- /testing-automation:playwright-generate-test create an end-to-end test for the checkout flow
- /testing-automation:java-junit show an example of a parameterized test for order calculations
- @tdd-red write a failing test based on issue #105 requirements
How to install testing-automation
Command from the source
copilot plugin install testing-automation@awesome-copilotStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about testing-automation
How to install testing-automation in GitHub Copilot?
Run copilot plugin install testing-automation@awesome-copilot in your Copilot CLI.
What subagents are included in testing-automation?
The plugin includes tdd-red, tdd-green, and tdd-refactor for test-driven development, along with playwright-tester for browser tests.
Do Playwright commands require additional setup?
Yes. The /testing-automation:playwright-explore-website and /testing-automation:playwright-generate-test commands require an active Playwright MCP server.
Source text
testing-automation · MIT
# 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 # Using Copilot CLI copilot plugin install testing-automation@awesome-copilot ``` ## What's Included ### Commands (Slash Commands) | Command | Description | |---------|-------------| | `/testing-automation:playwright-explore-website` | Website exploration for testing using Playwright MCP | | `/testing-automation:playwright-generate-test` | Generate a Playwright test based on a scenario using Playwright MCP | | `/testing-automation:csharp-nunit` | Get best practices for NUnit unit testing, including data-driven tests | | `/testing-automation:java-junit` | Get best practices for JUnit 5 unit testing, including data-driven tests | | `/testing-automation:ai-prompt-engineering-safety-review` | Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content. | ### Agents | Agent | Description | |-------|-------------| | `tdd-red` | Guide test-first development by writing failing tests that describe desired behaviour from GitHub issue context before implementation exists. | | `tdd-green` | Implement minimal code to satisfy GitHub issue requirements and make failing tests pass without over-engineering. | | `tdd-refactor` | Improve code quality, apply security best practices, and enhance design whilst maintaining green tests and GitHub issue compliance. | | `playwright-tester` | Testing mode for Playwright tests | ## Source This plugin is part of [Awesome Copilot](https://github.com/github/awesome-copilot), a community-driven collection of GitHub Copilot extensions. ## License MIT
© Awesome Copilot Community · MIT · github/awesome-copilot