Skip to content

Commit 4fc9055

Browse files
committed
fixup: v3 fork - missed updating discoverers
Fixes tests not being discovered because they wouldn't get discovered if the discoverer wasn't loaded (targeted the non-v3 one)
1 parent 840a133 commit 4fc9055

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xRetry.v3/RetryFactAttribute.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace xRetry.v3
99
/// Attribute that is applied to a method to indicate that it is a fact that should be run
1010
/// by the test runner up to <see cref="MaxRetries"/> times, until it succeeds.
1111
/// </summary>
12-
[XunitTestCaseDiscoverer("xRetry.RetryFactDiscoverer", "xRetry")]
12+
[XunitTestCaseDiscoverer("xRetry.v3.RetryFactDiscoverer", "xRetry.v3")]
1313
[AttributeUsage(AttributeTargets.Method)]
1414
public class RetryFactAttribute : FactAttribute
1515
{

src/xRetry.v3/RetryTheoryAttribute.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace xRetry.v3
77
/// Attribute that is applied to a method to indicate that it is a theory that should be run
88
/// by the test runner up to <see cref="RetryFactAttribute.MaxRetries"/> times, until it succeeds.
99
/// </summary>
10-
[XunitTestCaseDiscoverer("xRetry.RetryTheoryDiscoverer", "xRetry")]
10+
[XunitTestCaseDiscoverer("xRetry.v3.RetryTheoryDiscoverer", "xRetry.v3")]
1111
[AttributeUsage(AttributeTargets.Method)]
1212
public class RetryTheoryAttribute : RetryFactAttribute
1313
{

0 commit comments

Comments
 (0)