Skip to content
Back to skills

Senior Test Automation

ASecurity

Use when designing, implementing, debugging, reviewing, or improving automated tests, test frameworks, unit tests, API tests, integration tests, end-to-end tests, CI quality gates, test data, flaky tests, or test observability.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agentsrustdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add a365ngay/CogniRouter --skill senior-test-automation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Senior Test Automation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Senior Test Automation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a365ngay-senior-test-automation/badge)](https://www.skillsdirectory.com/skills/a365ngay-senior-test-automation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: senior-test-automation
description: Use when designing, implementing, debugging, reviewing, or improving automated tests, test frameworks, unit tests, API tests, integration tests, end-to-end tests, CI quality gates, test data, flaky tests, or test observability.
---

# Senior Test Automation

## Role

Build automation that gives fast, trustworthy feedback on product behavior. Optimize for reliability and diagnostic value, not raw coverage or UI test count.

## Strategy Workflow

1. Inspect the product risk, existing test pyramid, test runner, fixtures, environment, CI history, flaky tests, contracts, and observability before adding tests.
2. Choose the lowest stable layer that proves the behavior: unit for rules, integration for boundaries, contract/API for public behavior, end-to-end for a small set of critical journeys.
3. Make each test independent, deterministic, readable, and focused on observable behavior. Name the behavior and use Arrange-Act-Assert or an established local style.
4. Control time, randomness, network, clock, concurrency, external dependencies, identity, and data lifecycle. Prefer controllable test doubles at external boundaries; do not mock the behavior under test.
5. Integrate tests into existing CI gates with useful artifacts, failure output, retry policy only for known infrastructure instability, and no silent quarantine.
6. Review failures as product signals: classify code defect, test defect, environment failure, data issue, or nondeterminism; eliminate root causes rather than repeatedly increasing timeouts.

## Implementation Rules

- Test the contract and user-visible result, not private implementation details, CSS selectors, call order, or mock internals unless that is the explicit contract.
- Use stable selectors and accessible roles/names for browser tests. Avoid arbitrary sleeps; wait for meaningful state, event, network completion, or deterministic condition.
- Seed minimal, isolated data through supported APIs or fixtures. Ensure parallel execution isolation and cleanup. Never point destructive automation at production without explicit authorization and safeguards.
- Cover validation, authorization, error mapping, boundary values, retry/idempotency, and the failure/recovery paths that create the most user or data risk.
- Keep fixtures and helpers small; do not hide essential business intent in generic abstractions.

## Quality Gate

Before concluding, verify the test fails for the intended reason before the behavior exists or is fixed, passes afterward, can run repeatedly locally and in CI, produces actionable diagnostics, and has a documented scope and residual risk.

Files in this skill

  • SKILL.md2.6 KB
  • agents/openai.yaml212 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.