AgentHubAgentHub

Use cases/Testing & QA

Testing automation MCP & Skills

Unit/E2E tests, case generation and execution—for QA and CI/CD teams.

1,843 resources matched · Page 1 of 39

What is Testing & QA?

For testing and QA, MCP + Skills cover three jobs: having AI write and run unit tests (Filesystem / test-runner MCPs), driving E2E regression through a browser (Playwright MCP), and analyzing CI failures (GitHub MCP pulling build logs).

AI-authored tests shine on edge-case coverage and maintenance: ask the AI to draft a test plan first, confirm assertions with a human, then generate code—so tests assert requirements, not implementation.

Rollout order: backfill the most-churned modules, expose test commands as MCP tools for an edit-run-fix loop, then lock regressions into CI.

Good for

  • Coverage gaps
  • Regression cases
  • CI failure analysis
  • Perf baselines

Not ideal for

  • Replacing dedicated load testing
  • Destructive tests without isolation

Related resources

Browse all →

testing

SkillSkillsMP

Use when running go-redis tests of any kind — the full suite, a single test, or a filtered/focused subset (e.g. only cluster, sentinel, or pool specs); bringing up or tearing down the Docker test stack; the e2e maintenance-notifications suite (including the proxy-free logic tests); building or formatting; or setting the REDIS_VERSION / RE_CLUSTER / REDIS_PORT knobs that drive the test image and version gating. Covers how to focus a Ginkgo spec and how to run plain go tests.

source

testing

SkillSkillsMP

Testing practices for this monorepo — choosing between unit and end-to-end tests, where test files live, how tsconfig.test.json fits in, how to drive Playwright, to to write/adapt UI/end-to-end tests, and which test runner (vitest vs jest) to use. MUST be invoked BEFORE any code search or file reads whenever the user asks to add, write, or extend a test, add coverage, create a test file, set up testing in a new package, mentions vitest/jest, or refers to an existing `*.test.ts` file. Applies equally to unit tests and to end-to-end / UI tests — the skill routes to a Playwright-MCP-first discovery flow for the latter, which differs from normal code-search workflow.

source

testing

SkillSkillsMP

The mandatory test-with-every-change discipline for this monorepo. Load WHENEVER you write, change, refactor, or remove ANY code under apps/** or packages/** — a function, class, route, component, hook, schema, migration, config, or bug fix — and whenever you touch anything under tests/, add coverage, run a suite, set up CI, or are asked why a gate failed. Defines which test type each change needs (unit/integration/contract/api/e2e/a11y/visual/perf/security), the exact commands and conventions (co-located bun:test, factories, determinism, no comments), and the CI gates that enforce it. Enforces THE RULE: every possible change ships with tests in the same change.

source

testing

SkillSkillsMP

Reference for OrangeHRM's test layers — PHPUnit per-plugin testsuites declared in `phpunit.xml`, the test-DB lifecycle (`instance:create-test-db` builds a populated MySQL DB plus a `CoreFixtureService` dump that bootstrap restores per test), test base classes (`TestCase` for plain unit tests, `KernelTestCase` for tests that need the full framework + DI container, `EntityTestCase` for entity-only tests, `EndpointTestCase` and `EndpointIntegrationTestCase` for API endpoint tests with request mocking + exception expectations), the YAML fixture pattern (per-plugin `test/fixtures/<DaoName>.yml` + `TestDataService::populate($yamlPath)` in `setUp()`), Jest configuration for frontend unit tests (`@vue/cli-plugin-unit-jest/presets/typescript-and-babel`, `__tests__/` siblings), and Cypress for E2E (separate workspace under `src/test/functional/`). Use whenever the user is writing a test, deciding which base class to extend, debugging fixture loading, setting up the test DB, running a single test class, or trying to fig

source

testing

SkillSkillsMP

Use when writing, editing, refactoring, or debugging tests anywhere under `tests/**` (unit, integration, or end-to-end); authoring NUnit 4 test classes (`*Test`, `*IntegrationTest`); using NSubstitute mocks, AutoFixture with `[AutoMockData]` / `[InlineAutoMockData]` / `[Frozen]`, or AwesomeAssertions (NOT FluentAssertions); working with `CliIntegrationFixture`, `IntegrationTestFixture`, `MockFileSystem`, `TestableLogger`, `NUnitAnsiConsole`, or `New*` factory helpers; adding or updating E2E fixtures under `tests/Recyclarr.Cli.IntegrationTests.E2E/`; editing `Fixtures/recyclarr.yml`, `metadata.json`, `cf/`, `cf-groups/`, or `quality-profiles/` fixture folders; running `Run-E2ETests.ps1` or `scripts/coverage.py`; investigating flaky tests, coverage gaps, or Testcontainers setup. Triggers on phrases like "write a test", "fix this test", "improve coverage", "add an E2E case", "mock this dependency", or any edit to `*.Tests.csproj` or files under `tests/**`.

source

FAQ

Are AI-generated tests trustworthy?

With guardrails—testing-convention Skills, plan-then-code, real CI execution—quality improves a lot. Have humans review assertions on critical paths.

Do E2E tests require a browser MCP?

No. AI can generate Playwright/Cypress specs for CI directly; a browser MCP adds live inspection and selector debugging.

Can the AI run tests and fix itself?

Yes—expose 'run tests and return output' as an MCP tool to close the loop. Cap iterations and keep a human gate to avoid overfit fixes.

Setup guides for this scenario

Related scenarios

Testing automation MCP & Skills - AgentHub