typelevel / typelevel/weaver-test
Support for flaky tests
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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