SilentTestLogger should print exception if test failed

This commit is contained in:
Pavel Punegov
2017-10-17 16:42:44 +03:00
parent d56a4f8830
commit a25b3bd19e
@@ -33,6 +33,7 @@ open class TestLoggerWithStatistics: BaseTestLogger() {
class SilentTestLogger: BaseTestLogger() {
override fun logTestList(runner: TestRunner, suites: Collection<TestSuite>) {}
override fun log(message: String) {}
override fun fail(testCase: TestCase, e: Throwable, timeMillis: Long) = e.printStackTrace()
}
class SimpleTestLogger: BaseTestLogger() {
@@ -56,5 +57,3 @@ class SimpleTestLogger: BaseTestLogger() {
}
override fun ignore(testCase: TestCase) = println("Ignore: $testCase")
}