Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add ignore test suites (tests with children)
  • Loading branch information
nowsprinting committed Apr 20, 2025
commit 613353dfef7d84a78cfdd0155f0cdf29418e4238
6 changes: 6 additions & 0 deletions Editor/Tools/RunTestsTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ public void TestStarted(ITestAdaptor test)
// Called when a test finishes
public void TestFinished(ITestResultAdaptor result)
{
// Skip test suites (tests with children)
if (result.Test.HasChildren)
{
return;
}

_testResults.Add(new TestResult
{
Name = result.Test.Name,
Expand Down