use of com.thoughtworks.go.config.TestArtifactPlan in project gocd by gocd.
the class TestArtifactPlanTest method shouldNotThrowExceptionIfFolderNotFound.
@Test
public void shouldNotThrowExceptionIfFolderNotFound() throws Exception {
final TestArtifactPlan compositeTestArtifact = new TestArtifactPlan(new TestArtifactPlan("some_random_path_that_does_not_exist", "testoutput"));
compositeTestArtifact.publish(mockArtifactPublisher, rootPath);
verify(mockArtifactPublisher).consumeLineWithPrefix("The Directory target/test/some_random_path_that_does_not_exist specified as a test artifact was not found. Please check your configuration");
}
Aggregations