You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Description
File:
TUnit.Engine.Tests/InvokableTestBase.cs(Line 11)ALL tests inheriting from
InvokableTestBaseautomatically retry 3 times. This masks intermittent issues and makes it impossible to distinguish between flaky tests and genuine failures.Impact
Suggested Fix
[Retry(3)]to specific test classes that actually need it