Created
October 8, 2014 12:46
-
-
Save ktoso/baba2cacad58bddd4235 to your computer and use it in GitHub Desktop.
junit-interface not finding java junit tests
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
akka-stream-tests-experimental > show libraryDependencies | |
[info] List(org.scala-lang:scala-library:2.10.4, org.scalatest:scalatest:2.1.3:test, org.scalacheck:scalacheck:1.11.3:test, junit:junit:4.11:test, com.novocode:junit-interface:0.10:test, commons-io:commons-io:2.4:test) | |
akka-stream-tests-experimental > show test:definedTests | |
[info] Formatting 99 Scala sources {file:/Users/ktoso/code/akka/}akka-stream-tests-experimental(test) ... | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-experimental... | |
[info] Done updating. | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-testkit-experimental... | |
[info] Done updating. | |
[info] List(Test akka.stream.javadsl.FlowTest : annotation(false, org.junit.Test)) | |
[success] Total time: 35 s, completed 08-Oct-2014 14:40:36 | |
FOUND IT, OK! | |
akka-stream-tests-experimental > testOnly *javadsl* | |
[info] Test run started | |
[info] Test run finished: 0 failed, 0 ignored, 0 total, 0.0s | |
[info] ScalaTest | |
[info] Run completed in 589 milliseconds. | |
[info] Total number of tests run: 0 | |
[info] Suites: completed 0, aborted 0 | |
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 | |
[info] No tests were executed. | |
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0 | |
WAT? | |
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
akka-stream-tests-experimental > show libraryDependencies | |
[info] List(org.scala-lang:scala-library:2.10.4, org.scalatest:scalatest:2.1.3:test, org.scalacheck:scalacheck:1.11.3:test, junit:junit:4.11:test, com.novocode:junit-interface:0.11:test, commons-io:commons-io:2.4:test) | |
akka-stream-tests-experimental > show test:definedTests | |
[info] Formatting 99 Scala sources {file:/Users/ktoso/code/akka/}akka-stream-tests-experimental(test) ... | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-experimental... | |
[info] Done updating. | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-testkit-experimental... | |
[info] Done updating. | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-tests-experimental... | |
[info] Done updating. | |
[info] Compiling 99 Scala sources and 4 Java sources to /Users/ktoso/code/akka/akka-stream-tests/target/test-classes... | |
.... | |
[info] List(......, Test akka.stream.javadsl.FlowTest : annotation(false, org.junit.Test)) | |
[success] Total time: 26 s, completed 08-Oct-2014 14:42:21 | |
OK! | |
akka-stream-tests-experimental > testOnly *javadsl* | |
[info] Test run started | |
[info] Test run finished: 0 failed, 0 ignored, 0 total, 0.0s | |
[info] ScalaTest | |
[info] Run completed in 618 milliseconds. | |
[info] Total number of tests run: 0 | |
[info] Suites: completed 0, aborted 0 | |
[info] Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 | |
[info] No tests were executed. | |
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0 | |
[success] Total time: 1 s, completed 08-Oct-2014 14:42:28 | |
WAT? |
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
akka-stream-tests-experimental > show libraryDependencies | |
[info] List(org.scala-lang:scala-library:2.10.4, org.scalatest:scalatest:2.1.3:test, org.scalacheck:scalacheck:1.11.3:test, junit:junit:4.11:test, com.novocode:junit-interface:0.9:test, commons-io:commons-io:2.4:test) | |
akka-stream-tests-experimental > show test:definedTests | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-experimental... | |
[info] Done updating. | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-testkit-experimental... | |
[info] Done updating. | |
[info] Updating {file:/Users/ktoso/code/akka/}akka-stream-tests-experimental... | |
[info] Done updating. | |
[info] List(...... Test akka.stream.javadsl.FlowTest : annotation(false, org.junit.Test)) | |
[success] Total time: 1 s, completed 08-Oct-2014 14:38:54 | |
OK! | |
akka-stream-tests-experimental > testOnly *javadsl* | |
[info] Test run started | |
[info] Test akka.stream.javadsl.FlowTest.mustBeAbleToUseSplitWhen started | |
[error] Test akka.stream.javadsl.FlowTest.mustBeAbleToUseSplitWhen failed: No configuration setting found for key 'initial-input-buffer-size' | |
[error] at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124) | |
[error] at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145) | |
OK! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment