private IEnumerable <TestVariant> Build() { if (!Servers.Any()) { throw new ArgumentException("No servers were specified."); } // TFMs. if (!Tfms.Any()) { throw new ArgumentException("No TFMs were specified."); } ResolveDefaultArchitecture(); if (!ApplicationTypes.Any()) { ApplicationTypes.Add(ApplicationType.Portable); } if (!HostingModels.Any()) { HostingModels.Add(HostingModel.OutOfProcess); } var variants = new List <TestVariant>(); VaryByServer(variants); CheckForSkips(variants); return(variants); }
public TestMatrix WithAllHostingModels() { HostingModels.Add(HostingModel.OutOfProcess); HostingModels.Add(HostingModel.InProcess); return(this); }