Skip to content

Commit 613353d

Browse files
committed
Add ignore test suites (tests with children)
1 parent 04031c4 commit 613353d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Editor/Tools/RunTestsTool.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ public void TestStarted(ITestAdaptor test)
114114
// Called when a test finishes
115115
public void TestFinished(ITestResultAdaptor result)
116116
{
117+
// Skip test suites (tests with children)
118+
if (result.Test.HasChildren)
119+
{
120+
return;
121+
}
122+
117123
_testResults.Add(new TestResult
118124
{
119125
Name = result.Test.Name,

0 commit comments

Comments
 (0)