testing-automation — плагин GitHub Copilot: обзор и установка
Набор инструментов для автоматизации тестирования и TDD в GitHub Copilot. Добавляет команды для Playwright, JUnit 5, NUnit и цикл субагентов для разработки через тесты.
copilot plugin install testing-automation@awesome-copilotЧто делает testing-automation
Плагин добавляет в GitHub Copilot пять слэш-команд и четыре субагента. Они закрывают рутину тестирования. Команды помогают исследовать веб-страницы через Playwright, настраивать проверки в NUnit и JUnit 5, а также тестировать промпты нейросетей на уязвимости и смысловые смещения.
Для работы по методологии TDD предусмотрены три связанных агента. Сначала tdd-red пишет падающий тест по требованиям из задачи GitHub. Затем tdd-green добавляет минимальный рабочий код для его прохождения. После этого tdd-refactor улучшает архитектуру, сохраняя все тесты зелёными. Отдельный агент playwright-tester отвечает за сквозные браузерные сценарии.
Команды веб-тестирования завязаны на Playwright MCP. Без предварительно настроенного MCP-сервера Playwright исследовать страницы и генерировать тесты плагин не сможет.
Какие задачи решает
- настроить цикл TDD по задачам из GitHub Issues
- сгенерировать сквозные тесты Playwright по сценариям
- подобрать шаблоны для data-driven тестов в JUnit 5 и NUnit
- проверить системные промпты на уязвимости и безопасность
Примеры запросов агенту
- /testing-automation:playwright-generate-test напиши сценарий входа пользователя через форму логина
- /testing-automation:csharp-nunit покажи пример параметризованного теста для расчёта стоимости
- @tdd-red сформируй падающий тест по описанию задачи #24
Как установить testing-automation
Команда из источника
copilot plugin install testing-automation@awesome-copilotПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о testing-automation
Как установить testing-automation в GitHub Copilot?
Выполните команду copilot plugin install testing-automation@awesome-copilot в терминале Copilot CLI.
Какие субагенты входят в плагин testing-automation?
В плагин входят четыре агента: цепочка tdd-red, tdd-green и tdd-refactor для разработки через тесты, а также playwright-tester для браузерных сценариев.
Что нужно настроить для команд Playwright?
Командам /testing-automation:playwright-explore-website и /testing-automation:playwright-generate-test требуется запущенный сервер Playwright MCP.
Исходный текст
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