Created
October 28, 2017 09:48
-
-
Save ColinHebert/fd5fb94509181a5cd05961ab7e8fdf38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Documents/poc(mockitobug) $ ./gradlew clean test | |
> Task :compileTestKotlin | |
Using Kotlin incremental compilation | |
> Task :junitPlatformTest FAILED | |
Mock for Iterator, hashCode: 1378592036 | |
Mock for Iterator, hashCode: 1876390738 | |
Mock for Iterator, hashCode: 810557024 | |
Failures (3): | |
Spek:mockitobug.poc.BugSpekTest:describe test:it works | |
=> java.lang.AssertionError: expected: a value that is equal to 1 | |
but was: 2 | |
JUnit Jupiter:BugJupitetTest:test() | |
MethodSource [className = 'mockitobug.poc.BugJupitetTest', methodName = 'test', methodParameterTypes = ''] | |
=> org.opentest4j.AssertionFailedError: expected: <2> but was: <1> | |
JUnit Vintage:mockitobug.poc.BugJunitTest:test | |
MethodSource [className = 'mockitobug.poc.BugJunitTest', methodName = 'test', methodParameterTypes = ''] | |
=> java.lang.AssertionError: expected:<2> but was:<1> | |
Test run finished after 1062 ms | |
[ 7 containers found ] | |
[ 0 containers skipped ] | |
[ 7 containers started ] | |
[ 0 containers aborted ] | |
[ 7 containers successful ] | |
[ 0 containers failed ] | |
[ 3 tests found ] | |
[ 0 tests skipped ] | |
[ 3 tests started ] | |
[ 0 tests aborted ] | |
[ 0 tests successful ] | |
[ 3 tests failed ] | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':junitPlatformTest'. | |
> Process 'command '/Library/Java/JavaVirtualMachines/jdk-9.0.1.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1 | |
* Try: | |
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
* Get more help at https://help.gradle.org | |
BUILD FAILED in 3s | |
3 actionable tasks: 3 executed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment