typelevel / typelevel/weaver-test

Support for flaky tests

Open
#84 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
85
Forks
15
PR merge metrics
No merged PRs in 30d

Description

This issue was copied over from: https://github.com/disneystreaming/weaver-test/issues/657
It was opened by: DenisNovac


It would be great to have this feature from ZIO:
https://zio.dev/reference/test/aspects/flaky-and-non-flaky-tests/

For flaky tests there is flag @@flaky which makes it restart automatically until it succeed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked ZIO flaky-and-non-flaky-tests reference and the weaver-test code paths for test execution and aspects. Define how a @@flaky test should be recognized and restarted, then add coverage showing that flaky tests retry automatically until they succeed.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.