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)
20
foreach (var type in new[] { typeof(MsTestResource), typeof(MsTestOptions), typeof(
MsTestHostingExtensions
) })
28
var method = typeof(
MsTestHostingExtensions
).GetMethod(nameof(
MsTestHostingExtensions
.AddMsTest))!;
97
Assert.Throws<ArgumentException>(() =>
MsTestHostingExtensions
.ValidateRunnerArguments([argument]));
192
Assert.Throws<ArgumentNullException>(() =>
MsTestHostingExtensions
.AddMsTest(null!, "tests", "test.csproj"));