mockito / shipkit

Toolkit for shipping it used by Mockito library
http://shipkit.org
MIT License
158 stars 35 forks source link

Build should contain test failures to streamline debugging #666

Closed mockitoguy closed 6 years ago

mockitoguy commented 6 years ago

Motivated by recent build failure on Travis CI, it would be useful to see the assertion failure in the build log.

Current behavior:

:shipkit:test

org.shipkit.internal.gradle.configuration.BasicValidatorTest > not null FAILED
    org.spockframework.runtime.SpockComparisonFailure at BasicValidatorTest.groovy:17

3 tests completed, 1 failed
:shipkit:test FAILED

Desired behavior:

:shipkit:test

org.shipkit.internal.gradle.configuration.BasicValidatorTest > not null FAILED
    Condition not satisfied:

    e.message == "not goodxxx"
    | |       |
    | |       false
    | |       3 differences (72% similarity)
    | |       not good(---)
    | |       not good(xxx)
    | not good
    org.gradle.api.GradleException: not good
        at org.shipkit.internal.gradle.configuration.BasicValidatorTest.not null(BasicValidatorTest.groovy:17)

3 tests completed, 1 failed
:shipkit:test FAILED