Skip to content

Commit

Permalink
Only scan exported types when locating specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkcod committed Aug 31, 2014
1 parent 89573db commit ff0709f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Runners/SimpleConeRunner.cs
Expand Up @@ -35,7 +35,7 @@ public SimpleConeRunner(): this(new DefaultObjectProvider())
public int Workers = 1;

public void RunTests(TestSession results, IEnumerable<Assembly> assemblies) {
RunTests(results, assemblies.SelectMany(x => x.GetTypes()));
RunTests(results, assemblies.SelectMany(x => x.GetExportedTypes()));
}

public void RunTests(TestSession results, IEnumerable<Type> suiteTypes) {
Expand Down

0 comments on commit ff0709f

Please sign in to comment.