public void CanBuild_WithMissingComponents_IsTrue() { var pipeline = new TestBuildPipelineWithMissingComponents(); var config = BuildConfiguration.CreateInstance(); Assert.That(pipeline.CanBuild(config).Result, Is.True); }
public void BuildIncremental_WithMissingComponents_Fails() { var pipeline = new TestBuildPipelineWithMissingComponents(); var config = BuildConfiguration.CreateInstance(); Assert.That(pipeline.CanBuild(config).Result, Is.True); using (var process = pipeline.BuildIncremental(config)) { while (process.Update()) { } Assert.That(process.Result.Succeeded, Is.False); } }