public void CreateTestModel() { var engine = TestEngineActivator.CreateInstance(); Assert.NotNull(engine, "Unable to create engine instance for testing"); _model = new TestModel(engine); _model.LoadTests(new[] { Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY) }); }
public void CreateTestModel() { var engine = TestEngineActivator.CreateInstance(); Assert.NotNull(engine, "Unable to create engine instance for testing"); var model = new TestModel(engine); _availableRuntimes = model.AvailableRuntimes; Assert.NotNull(_availableRuntimes); }
public static ITestModel CreateTestModel(CommandLineOptions options) { return(CreateTestModel(TestEngineActivator.CreateInstance(), options)); }