Skip to content

Commit

Permalink
Make runner test Theory with e.g. ClassData
Browse files Browse the repository at this point in the history
Before this, this runner couldn't test tests using the ClassData,
MemberData attributes. But, since I set PreEnumerateTheories flag to
false, it has been able to test them.
  • Loading branch information
moreal committed Jun 13, 2019
1 parent dc2bba8 commit 7ffa005
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/EntryPoint.cs
Expand Up @@ -145,6 +145,7 @@ void run(string path)
ITestFrameworkDiscoveryOptions discoveryOptions =
TestFrameworkOptions.ForDiscovery(configuration);
discoveryOptions.SetSynchronousMessageReporting(true);
discoveryOptions.SetPreEnumerateTheories(false);
controller.Find(false, messageSink, discoveryOptions);
messageSink.DiscoveryCompletionWaitHandle.WaitOne();
ITestCase[] testCases =
Expand Down

0 comments on commit 7ffa005

Please sign in to comment.