qa/test-execution

Detects test frameworks and executes unit and E2E tests with result parsing.

553|50|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/echoVic/boss-skill --skill qa-test-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qa/test-execution
Source: https://github.com/echoVic/boss-skill/tree/main/skill/skills/qa/test-execution
Command: npx skills add https://github.com/echoVic/boss-skill --skill qa-test-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

QA agents often claim tests passed without actually running them, producing unverifiable results. This Skill enforces real test execution by detecting the project's test framework, running the correct commands, and parsing structured output for pass/fail counts and coverage.

Core Features & Use Cases

  • Framework Detection: Identifies Jest, Vitest, Playwright, Cypress, pytest, unittest, and Go tests from config files and package dependencies.
  • Real Test Execution: Runs unit tests (npm test, pytest, go test) and E2E tests (Playwright) with explicit commands, forbidding mocked results.
  • Result Parsing: Extracts total, passed, failed, flaky, and skipped counts from Playwright JSON reports for quality gate evaluation.
  • Use Case: A QA agent validating a Node.js feature detects Playwright, runs npx playwright test --reporter=json, and reports exact pass/fail statistics as gate evidence.

Quick Start

Ask the QA agent to run the project's test suite and report the real pass, fail, and coverage results.

Frequently Asked Questions about qa/test-execution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Playwright E2E tests and parse the results?

Run npx playwright test --reporter=json to produce a machine-readable report. Parse stats.expected for passed tests, stats.unexpected for failures, stats.flaky for retried passes, and stats.skipped for skipped tests.

How to detect which test framework a project uses?

Check for config files and dependencies: jest.config.js or the jest package for Jest, vitest.config.js for Vitest, playwright.config.ts for Playwright, pytest.ini for pytest, and *_test.go files for Go tests.

What test commands work for Node.js, Python, and Go projects?

Use npm test for Node.js unit tests and npx playwright test for E2E. Use pytest for Python unit tests and pytest tests/e2e for E2E. Use go test ./... for Go projects.

How do I debug a failing Playwright test?

Playwright generates a trace file on failure; open it with npx playwright show-trace followed by the trace.zip path. You can also run npx playwright show-report to inspect the full HTML report.

Can I run only critical Playwright tests for faster quality gates?

Yes, use npx playwright test --grep @critical to run only tests tagged as critical. This speeds up gate checks while still covering the most important scenarios.