Skip 21 inproc tests (#862)

This commit is contained in:
Justin Kotalik 2018-07-30 11:57:35 -07:00 committed by GitHub
parent bd5625bdf0
commit b85adeee6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 2 deletions

View File

@ -16,14 +16,24 @@ namespace E2ETests
{
public static TestMatrix TestVariants
=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.HttpSys)
.WithTfms(Tfm.NetCoreApp22, Tfm.NetCoreApp21, Tfm.NetCoreApp20, Tfm.Net461)
.WithTfms(Tfm.NetCoreApp22)
.WithAllApplicationTypes()
.WithAllAncmVersions()
.WithAllHostingModels()
.WithAllArchitectures();
// ANCM In-process cannot run on netcoreapp2.1 and below
public static TestMatrix TestVariantsWithoutInproc
=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.HttpSys)
.WithTfms(Tfm.NetCoreApp21, Tfm.NetCoreApp20, Tfm.Net461)
.WithAllApplicationTypes()
.WithAllAncmVersions()
.WithHostingModels(HostingModel.OutOfProcess)
.WithAllArchitectures();
[ConditionalTheory]
[MemberData(nameof(TestVariants))]
[MemberData(nameof(TestVariantsWithoutInproc))]
public async Task PublishAndRun_Test(TestVariant variant)
{
var testName = $"PublishAndRunTests_{variant}";

View File

@ -17,13 +17,23 @@ namespace E2ETests
{
public static TestMatrix TestVariants
=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.HttpSys)
.WithTfms(Tfm.NetCoreApp22, Tfm.NetCoreApp21, Tfm.NetCoreApp20, Tfm.Net461)
.WithTfms(Tfm.NetCoreApp22)
.WithAllApplicationTypes()
.WithAllAncmVersions()
.WithAllHostingModels();
// ANCM In-process cannot run on netcoreapp2.1 and below
public static TestMatrix TestVariantsWithoutInproc
=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.HttpSys)
.WithTfms(Tfm.NetCoreApp21, Tfm.NetCoreApp20, Tfm.Net461)
.WithAllApplicationTypes()
.WithAllAncmVersions()
.WithHostingModels(HostingModel.OutOfProcess)
.WithAllArchitectures();
[ConditionalTheory]
[MemberData(nameof(TestVariants))]
[MemberData(nameof(TestVariantsWithoutInproc))]
public async Task Smoke_Tests(TestVariant variant)
{
var testName = $"SmokeTestSuite_{variant}";