We have a bunch of tests which are passing but producing deprecation warnings. We have a custom test result parsing which does the following:
case 'warning': // PHPUnit sets the status to "warning" if the test uses deprecated // functionality, but otherwise passes. See // https://github.com/sebastianbergmann/phpunit/issues/2194. $result->setResult(ArcanistUnitTestResult::RESULT_PASS); $result->setUserData(rtrim($message)); break;
The message, however, is currently not emitted by the console renderer.