We are using PHPUnit and we are running a bunch of integration tests which tests our 3rd party APIs, and we want them to show a warning when they fails in Codeship but don't block the build because we really have no control over them. Is this even possible? What we are curently doing is to mark all failed integration tests as incomplete through
trait IntegrationTestTrait
{
protected function onNotSuccessfulTest(Exception $e)
{
$this->markTestIncomplete("This test failed for the following reason " . $e->getMessage());
}
}
But this doesn't really work because nobody really cares about incompleted tests. Does anyone know if there is anything stronger than incomplete but won't fail the whole build that we can use?