Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
0d5d220
Perf Improvements
thomhurst Aug 8, 2025
dd2cc3b
chore: remove obsolete test result files and reflection log
thomhurst Aug 8, 2025
4216d5c
Remove redundant execution plan
thomhurst Aug 8, 2025
08e0de6
Optimize task handling and property injection for improved performance
thomhurst Aug 8, 2025
cd44cb8
Merge main branch and resolve conflicts
thomhurst Aug 8, 2025
3da8363
Update EnumerableAsyncProcessor to version 3.2.0 and modify GetOnlyDi…
thomhurst Aug 8, 2025
919b7e5
Remove 5 minute timeout from DedicatedThreadExecutor
thomhurst Aug 8, 2025
a0e8a25
Revert "Remove 5 minute timeout from DedicatedThreadExecutor"
thomhurst Aug 8, 2025
b311a46
fix: Resolve async data source deadlock in DedicatedThreadExecutor
thomhurst Aug 8, 2025
48bb732
Merge branch 'main' into feature/perf-08082025
thomhurst Aug 10, 2025
e5eb020
Fix build error: Remove TestMethodParameterTypes property that doesn'…
thomhurst Aug 10, 2025
32795dd
Remove maximum-parallel-tests argument from RunEngineTestsModule
thomhurst Aug 10, 2025
5360509
Merge branch 'main' into feature/perf-08082025
thomhurst Aug 10, 2025
a308c07
chore(deps): update EnumerableAsyncProcessor to version 3.6.0
thomhurst Aug 10, 2025
c99fd5d
refactor: convert synchronous methods to asynchronous and improve tim…
thomhurst Aug 10, 2025
9bae603
fix: handle unexpected test states and ensure TaskCompletionSource is…
thomhurst Aug 10, 2025
729a9d8
chore(deps): update EnumerableAsyncProcessor to version 3.6.3
thomhurst Aug 10, 2025
59ce527
refactor: remove obsolete TryCreateWithInitializer method and impleme…
thomhurst Aug 10, 2025
d0c2340
refactor: implement KeyedConstraintManager to manage test execution w…
thomhurst Aug 10, 2025
29d7884
feat: add hang dump configuration to all test runner modules
thomhurst Aug 10, 2025
3613cbf
feat: add Microsoft.Testing.Extensions.HangDump package to multiple t…
thomhurst Aug 10, 2025
2a0550b
feat: add Microsoft.Testing.Extensions.HangDump package reference to …
thomhurst Aug 10, 2025
9e51ecc
feat: add Microsoft.Testing.Extensions.HangDump package reference to …
thomhurst Aug 10, 2025
a035a98
fix: eliminate deadlock in Context output handling using lock-free de…
thomhurst Aug 10, 2025
2af6f2d
fix: resolve potential deadlock in dependency resolution by setting T…
thomhurst Aug 10, 2025
2ba8871
Merge remote-tracking branch 'origin/main' into feature/perf-08082025
thomhurst Aug 10, 2025
c1bde0d
Fix hanging/deadlock issues in test execution
thomhurst Aug 10, 2025
4b183b3
Fix duplicate test IDs for inherited tests and remove debug logs
thomhurst Aug 11, 2025
94acbaf
Add InheritanceDepth property to API change verification files
thomhurst Aug 11, 2025
b97dc9a
Fix TestContext.Dependencies population to include transitive depende…
thomhurst Aug 11, 2025
d16d6d2
Remove redundant comments from dependency resolution code
thomhurst Aug 11, 2025
7795b68
Fix test scheduler deadlock by proactively starting dependencies
thomhurst Aug 11, 2025
e14930b
Fix test scheduler deadlocks in parallel and semaphore-constrained ex…
thomhurst Aug 11, 2025
d0fb98f
Fix test scheduler deadlocks and ensure unique test IDs
thomhurst Aug 11, 2025
3a64efb
Add InheritanceDepth property to test metadata for various test cases
thomhurst Aug 11, 2025
c44c7f9
Optimize parallel processing and add ConfigureAwait(false) to async c…
thomhurst Aug 11, 2025
bc03969
Update hangdump filename format and timeout for improved diagnostics
thomhurst Aug 11, 2025
8610772
Fix build errors with missing FilePath and LineNumber in TestMetadata
thomhurst Aug 11, 2025
a4b59cf
Prevent unobserved task exceptions by ensuring all background tasks a…
thomhurst Aug 11, 2025
9c930ec
Add FilePath and LineNumber properties to test metadata for improved …
thomhurst Aug 11, 2025
970a9af
Add FilePath and LineNumber to test metadata for enhanced diagnostics
thomhurst Aug 11, 2025
59ef8e3
Update hangdump timeout and test timeout for improved performance
thomhurst Aug 11, 2025
8b21d2b
Refactor circular dependency detection to return detailed dependency …
thomhurst Aug 11, 2025
48faea1
Add Microsoft.Testing.Extensions.HangDump package reference and refac…
thomhurst Aug 11, 2025
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
Next Next commit
Merge main branch and resolve conflicts
- Resolved conflicts in TestDiscoveryService.cs and TestExecutor.cs
- Removed ExecutionPlan.cs as it was deleted in our branch
- Preserved all performance optimizations:
  * DedicatedThreadExecutor busy-wait loop fix (30-50% improvement)
  * Property Injection Service caching and batching (40-60% improvement)
  * Hook Orchestration optimizations (20-30% improvement)
  * Async state machine overhead reductions (15-25% improvement)
  * Test result routing optimizations
- Integrated parallelized test building from main branch
- All tests build successfully
  • Loading branch information
thomhurst committed Aug 8, 2025
commit cd44cb8131ab31d2e70bb845d2e14b995fcf5caf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated/>
// <auto-generated/>
#pragma warning disable

// <auto-generated/>
Expand All @@ -7,9 +7,8 @@
namespace TUnit.Generated;
internal sealed class ConcreteClass1_AssertClassName_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AbstractTests.ConcreteClass1>
{
TestName = "AssertClassName",
Expand Down Expand Up @@ -83,8 +82,8 @@ internal sealed class ConcreteClass1_AssertClassName_TestSource_GUID : global::T
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ConcreteClass1_AssertClassName_ModuleInitializer_GUID
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated/>
// <auto-generated/>
#pragma warning disable

// <auto-generated/>
Expand All @@ -7,9 +7,8 @@
namespace TUnit.Generated;
internal sealed class ConcreteClass2_SecondTest_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AbstractTests.ConcreteClass2>
{
TestName = "SecondTest",
Expand Down Expand Up @@ -86,8 +85,8 @@ internal sealed class ConcreteClass2_SecondTest_TestSource_GUID : global::TUnit.
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ConcreteClass2_SecondTest_ModuleInitializer_GUID
Expand All @@ -111,9 +110,8 @@ internal static class ConcreteClass2_SecondTest_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ConcreteClass2_AssertClassName_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AbstractTests.ConcreteClass2>
{
TestName = "AssertClassName",
Expand Down Expand Up @@ -188,8 +186,8 @@ internal sealed class ConcreteClass2_AssertClassName_TestSource_GUID : global::T
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ConcreteClass2_AssertClassName_ModuleInitializer_GUID
Expand All @@ -213,9 +211,8 @@ internal static class ConcreteClass2_AssertClassName_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ConcreteClass2_SecondTest_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AbstractTests.ConcreteClass2>
{
TestName = "SecondTest",
Expand Down Expand Up @@ -292,8 +289,8 @@ internal sealed class ConcreteClass2_SecondTest_TestSource_GUID : global::TUnit.
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ConcreteClass2_SecondTest_ModuleInitializer_GUID
Expand All @@ -317,9 +314,8 @@ internal static class ConcreteClass2_SecondTest_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ConcreteClass1_AssertClassName_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AbstractTests.ConcreteClass1>
{
TestName = "AssertClassName",
Expand Down Expand Up @@ -393,8 +389,8 @@ internal sealed class ConcreteClass1_AssertClassName_TestSource_GUID : global::T
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ConcreteClass1_AssertClassName_ModuleInitializer_GUID
Expand Down
16 changes: 7 additions & 9 deletions TUnit.Core.SourceGenerator.Tests/AfterAllTests.Test.verified.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated/>
// <auto-generated/>
#pragma warning disable

// <auto-generated/>
Expand All @@ -7,9 +7,8 @@
namespace TUnit.Generated;
internal sealed class CleanupTests_Test1_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AfterTests.CleanupTests>
{
TestName = "Test1",
Expand Down Expand Up @@ -82,8 +81,8 @@ internal sealed class CleanupTests_Test1_TestSource_GUID : global::TUnit.Core.In
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class CleanupTests_Test1_ModuleInitializer_GUID
Expand All @@ -107,9 +106,8 @@ internal static class CleanupTests_Test1_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class CleanupTests_Test2_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AfterTests.CleanupTests>
{
TestName = "Test2",
Expand Down Expand Up @@ -182,8 +180,8 @@ internal sealed class CleanupTests_Test2_TestSource_GUID : global::TUnit.Core.In
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class CleanupTests_Test2_ModuleInitializer_GUID
Expand Down
16 changes: 7 additions & 9 deletions TUnit.Core.SourceGenerator.Tests/AfterTests.Test.verified.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated/>
// <auto-generated/>
#pragma warning disable

// <auto-generated/>
Expand All @@ -7,9 +7,8 @@
namespace TUnit.Generated;
internal sealed class CleanupTests_Test1_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AfterTests.CleanupTests>
{
TestName = "Test1",
Expand Down Expand Up @@ -82,8 +81,8 @@ internal sealed class CleanupTests_Test1_TestSource_GUID : global::TUnit.Core.In
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class CleanupTests_Test1_ModuleInitializer_GUID
Expand All @@ -107,9 +106,8 @@ internal static class CleanupTests_Test1_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class CleanupTests_Test2_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.AfterTests.CleanupTests>
{
TestName = "Test2",
Expand Down Expand Up @@ -182,8 +180,8 @@ internal sealed class CleanupTests_Test2_TestSource_GUID : global::TUnit.Core.In
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class CleanupTests_Test2_ModuleInitializer_GUID
Expand Down
37 changes: 16 additions & 21 deletions TUnit.Core.SourceGenerator.Tests/ArgsAsArrayTests.Test.verified.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <auto-generated/>
// <auto-generated/>
#pragma warning disable

// <auto-generated/>
Expand All @@ -7,9 +7,8 @@
namespace TUnit.Generated;
internal sealed class ArgsAsArrayTests_Params_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.ArgsAsArrayTests>
{
TestName = "Params",
Expand Down Expand Up @@ -149,8 +148,8 @@ internal sealed class ArgsAsArrayTests_Params_TestSource_GUID : global::TUnit.Co
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ArgsAsArrayTests_Params_ModuleInitializer_GUID
Expand All @@ -174,9 +173,8 @@ internal static class ArgsAsArrayTests_Params_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ArgsAsArrayTests_NonParams_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.ArgsAsArrayTests>
{
TestName = "NonParams",
Expand Down Expand Up @@ -280,8 +278,8 @@ internal sealed class ArgsAsArrayTests_NonParams_TestSource_GUID : global::TUnit
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ArgsAsArrayTests_NonParams_ModuleInitializer_GUID
Expand All @@ -305,9 +303,8 @@ internal static class ArgsAsArrayTests_NonParams_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ArgsAsArrayTests_ParamsEnumerable_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.ArgsAsArrayTests>
{
TestName = "ParamsEnumerable",
Expand Down Expand Up @@ -447,8 +444,8 @@ internal sealed class ArgsAsArrayTests_ParamsEnumerable_TestSource_GUID : global
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ArgsAsArrayTests_ParamsEnumerable_ModuleInitializer_GUID
Expand All @@ -472,9 +469,8 @@ internal static class ArgsAsArrayTests_ParamsEnumerable_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ArgsAsArrayTests_Enumerable_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.ArgsAsArrayTests>
{
TestName = "Enumerable",
Expand Down Expand Up @@ -578,8 +574,8 @@ internal sealed class ArgsAsArrayTests_Enumerable_TestSource_GUID : global::TUni
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ArgsAsArrayTests_Enumerable_ModuleInitializer_GUID
Expand All @@ -603,9 +599,8 @@ internal static class ArgsAsArrayTests_Enumerable_ModuleInitializer_GUID
namespace TUnit.Generated;
internal sealed class ArgsAsArrayTests_Following_Non_Params_TestSource_GUID : global::TUnit.Core.Interfaces.SourceGenerator.ITestSource
{
public async global::System.Threading.Tasks.ValueTask<global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>> GetTestsAsync(string testSessionId)
public async global::System.Collections.Generic.IAsyncEnumerable<global::TUnit.Core.TestMetadata> GetTestsAsync(string testSessionId, [global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var tests = new global::System.Collections.Generic.List<global::TUnit.Core.TestMetadata>();
var metadata = new global::TUnit.Core.TestMetadata<global::TUnit.TestProject.ArgsAsArrayTests>
{
TestName = "Following_Non_Params",
Expand Down Expand Up @@ -718,8 +713,8 @@ internal sealed class ArgsAsArrayTests_Following_Non_Params_TestSource_GUID : gl
},
};
metadata.UseRuntimeDataGeneration(testSessionId);
tests.Add(metadata);
return tests;
yield return metadata;
yield break;
}
}
internal static class ArgsAsArrayTests_Following_Non_Params_ModuleInitializer_GUID
Expand Down
Loading
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.