← All Learning Paths

QA Automation Lead

Lead automation strategy: the test pyramid, flaky test metrics and quarantine, parallelization, coverage gates, and risk-based regression selection.

roleintermediate8 nodes10.83h total

Path overview

主导自动化策略:测试金字塔、不稳定用例度量与隔离、并行化、覆盖率门禁与基于风险的回归选择。

Lead automation strategy: the test pyramid, flaky test metrics and quarantine, parallelization, coverage gates, and risk-based regression selection.

  1. Apply "Parallelize Playwright E2E with Shards and Workers" to a qa automation lead task, checking that "Spec files run concurrently in isolated browser contexts on one machine; most suites already" appears after the "Cut an E2E suite wall-clock time by sharding across machines and workers without introducing" step.

    Completion criteria: Run "Parallelize Playwright E2E with Shards and Workers" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Quarantine Flaky Tests and Fix Them for Real

    ⏱ 0.5h

  2. Execute "Quarantine Flaky Tests and Fix Them for Real" end to end, then repeat the last step with one parameter changed and compare "Identify nondeterministic tests, isolate them without losing signal, and return them to the".

    Prerequisites: Parallelize Playwright E2E with Shards and Workers

    Completion criteria: Run the steps through "Identify nondeterministic tests, isolate them without losing signal, and return them to the", paste the command output, and mark the line that matches "A per-test pass/fail matrix across twenty runs names the nondeterministic tests with data"; then rerun with one parameter changed.

    Next step: Add Mutation Testing to Critical Modules

    ⏱ 0.5h

  3. Run "Both packages appear in devDependencies and a stryker.conf.json can reference the vitest" from "Add Mutation Testing to Critical Modules" and confirm the documented result "Install the Stryker core package and the Vitest runner.".

    Prerequisites: Quarantine Flaky Tests and Fix Them for Real

    Completion criteria: Deliver a transcript of "Add Mutation Testing to Critical Modules" with each step's command and observed state, ending at "Both packages appear in devDependencies and a stryker.conf.json can reference the vitest".

    Next step: Flaky Test Eradication Program Workflow

    ⏱ 0.5h

  4. Carry out "Flaky Test Eradication Program Workflow" on a qa automation lead project, pausing at the "Reduce the flake rate of the suite to near zero through detection, time-boxed quarantine," step to verify "A ranked flake list exists with observed failure rates per test.".

    Prerequisites: Add Mutation Testing to Critical Modules

    Completion criteria: Produce a run log for "Flaky Test Eradication Program Workflow" that ends at "Reduce the flake rate of the suite to near zero through detection, time-boxed quarantine," and mark every step where "A ranked flake list exists with observed failure rates per test." was checked.

    Next step: Coverage Delta Gate Workflow

    ⏱ 0.5h

  5. Use "Coverage Delta Gate Workflow" to decide "Changed-line coverage is known.", then prove the outcome with "Enforce coverage on changed code rather than an absolute global target.".

    Prerequisites: Flaky Test Eradication Program Workflow

    Completion criteria: Deliver a transcript of "Coverage Delta Gate Workflow" with each step's command and observed state, ending at "Enforce coverage on changed code rather than an absolute global target.".

    Next step: Change-Based Regression Test Selection Workflow

    ⏱ 1h

  6. Follow "Change-Based Regression Test Selection Workflow" and record "Cut pre-merge regression time by running the tests that the change can affect, with nightly" at the step where it should appear, using "A queryable map exists: given changed files, it returns the candidate test set." as the check.

    Prerequisites: Coverage Delta Gate Workflow

    Completion criteria: Record the state "Cut pre-merge regression time by running the tests that the change can affect, with nightly" at the verification step, then paste the output of "A queryable map exists: given changed files, it returns the candidate test set." that proves it.

    Next step: Generate a Test Matrix with Exclusions

    ⏱ 0.5h

  7. Turn JSON object: { dimensions: { [name]: string[] }, excludePairs?: [{ into {total:4,selected:3,sample:[{browser:chromium,os:linux},{browser:chrom by completing "Generate a Test Matrix with Exclusions" with a reproducible script and a failing-case note.

    Prerequisites: Change-Based Regression Test Selection Workflow

    Completion criteria: Attach the solution file for "QA Automation Lead", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: QA Automation Lead

    ⏱ 0.33h

  8. Build "Build a Config-Driven API Mock Server" through its phases, keeping "Per-route latency and status injection reproduce slow and failing upstreams" independently testable.

    Prerequisites: Change-Based Regression Test Selection Workflow, Generate a Test Matrix with Exclusions

    Completion criteria: Run the project's test command for "Build a Config-Driven API Mock Server", paste the passing output, and attach the acceptance note for "Per-route latency and status injection reproduce slow and failing upstreams" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h