-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Description
File: TUnit.Engine.Tests/InvokableTestBase.cs (Line 11)
[Retry(3)]
public abstract class InvokableTestBase(TestMode testMode)ALL tests inheriting from InvokableTestBase automatically retry 3 times. This masks intermittent issues and makes it impossible to distinguish between flaky tests and genuine failures.
Impact
- Root causes of intermittent failures hidden
- Test execution time inflated when retries trigger
- Test results less reliable for decision-making
Suggested Fix
- Move
[Retry(3)]to specific test classes that actually need it - Document why specific tests need retries
- Track and report actual retry counts in CI logs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers