6 references to MsTestHostingExtensions
Aspire.Hosting.Dotnet (1)
MsTestResource.cs (1)
13/// Use <see cref="MsTestHostingExtensions.AddMsTest"/> to configure execution and result collection.
Aspire.Hosting.Dotnet.Tests (5)
MsTestResourceTests.cs (5)
20foreach (var type in new[] { typeof(MsTestResource), typeof(MsTestOptions), typeof(MsTestHostingExtensions) }) 28var method = typeof(MsTestHostingExtensions).GetMethod(nameof(MsTestHostingExtensions.AddMsTest))!; 97Assert.Throws<ArgumentException>(() => MsTestHostingExtensions.ValidateRunnerArguments([argument])); 192Assert.Throws<ArgumentNullException>(() => MsTestHostingExtensions.AddMsTest(null!, "tests", "test.csproj"));