Detect test runners and testing configuration across Python, JS/TS, Rust, and Go. Used internally by /project-setup.
From project-setupnpx claudepluginhub anthropics/claude-plugins-community --plugin project-setupThis skill uses the workspace's default tool permissions.
Guides browser automation with Playwright, Puppeteer, Selenium for e2e testing and scraping. Teaches reliable selectors, auto-waits, isolation to fix flaky tests.
Provides checklists to review code for functionality, quality, security, performance, tests, and maintainability. Use for PRs, audits, team standards, and developer training.
Enforces A/B test setup with gates for hypothesis locking, metrics definition, sample size calculation, assumptions checks, and execution readiness before implementation.
Find test runners, test directories, and determine the canonical test command.
pyproject.toml → [tool.pytest.ini_options] → pytestpytest.ini → pytestsetup.cfg → [tool:pytest] → pytestconftest.py at project root → pytesttox.ini → tox (extract [testenv] commands section)noxfile.py or nox.py → noxtests/, test/, src/tests/package.json → scripts.test → extract runner namejest.config.js, jest.config.ts, jest.config.json → jestvitest.config.js, vitest.config.ts, vite.config.ts (with test section) → vitest.mocharc.yml, .mocharc.json → mochaplaywright.config.ts, playwright.config.js → playwright (e2e)__tests__/, test/, tests/, spec/Cargo.toml exists → cargo testtests/ directory (integration tests) and #[cfg(test)] modules (unit tests)benches/ directory → cargo benchgo.mod exists → go test ./...*_test.go files to confirm tests existtestify or other test framework importsRead Makefile for targets named test, tests, check, test-unit, test-integration.
Determine the single best test command:
make test (if Makefile has test target)tox (if tox.ini exists — it usually wraps pytest)pytest (if pytest is configured)npm test / pnpm test / yarn test (if package.json has scripts.test)cargo test (Rust)go test ./... (Go)nox (if noxfile.py exists)Also determine the single-test command pattern:
pytest tests/test_foo.py::test_bar -xvsnpx jest --testPathPattern test_foocargo test test_namego test ./pkg/... -run TestNameReturn:
permissions.allow entries (e.g. Bash(pytest *), Bash(cargo test *))## Testing section content