Support for flaky tests

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

Nobody has claimed this yet.

Assessment

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

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.

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.

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

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.

More from typelevel/weaver-test

All issues in typelevel/weaver-test

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.