mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-24 01:50:04 +08:00
`e2e run --repeat-each <n>` (`RunOptions.repeatEach`) runs every selected test that many times. The repeat is a dimension of a pair's identity beside the test, the target, and the agent: `TestTargetPair.repeat`, the wire pair, the pair-start and progress messages, the scheduler's keys, and the report result and serial group all carry it, 0 for the run every test has. The first run's result id is unchanged; later runs get their own, the list reporter, JUnit, and the failure pages title them `(repeat #n)`, and their artifacts go under `repeat-<n>`. Setup tests run once; a filtered or skipped pair is reported once. Run events `test-started` and `step` carry `repeat`. `--last-failed` now keys the previous run's results by test, target, and agent, so a test is named once whichever of its repeats did not pass.