skills/amirrudd/flyerboard/test-stress-tester

test-stress-tester

SKILL.md

Test Stress Tester

This skill provides a programmatic way to run tests repeatedly to catch flakiness, race conditions, or intermittent failures that only surface in CI.

When to use

  • When a test passes locally but fails in CI.
  • When you suspect a race condition in asynchronous code.
  • When you want to verify the stability of a new feature before merging.

Scripts

run-repeatedly

Runs a vitest test file a specified number of times and reports the failure rate.

Command:

./.agent/skills/test-stress-tester/scripts/run-repeatedly.sh <test-file> <iterations>

Parameters:

  • <test-file>: Path to the vitest test file.
  • <iterations>: Number of times to run the test (default: 5).

Examples

Stress testing a component

./.agent/skills/test-stress-tester/scripts/run-repeatedly.sh src/components/AdDetail.test.tsx 10

Tips

  • Keep iterations reasonable (5-10) for UI tests.
  • For backend/logic tests, you can go higher (50+).
  • Check the stress-test.log in the skill folder for detailed failure logs if any.
Weekly Installs
1
First Seen
Feb 26, 2026
Installed on
kilo1
amp1
opencode1
cursor1
kimi-cli1
codex1