Created
November 6, 2019 21:42
-
-
Save tindzk/17e5c610420d92650a43acad922b67e4 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
$ b test frontend -o bloop.JsTestSpec | |
-------------------------------- Running Tests -------------------------------- | |
+ bloop.JsTestSpec.project compiles 8111ms | |
Logger contains the following messages: | |
[debug] Preparing compilation of test-projectJS-test transitively | |
[debug] Computing sources and classpath hashes for test-projectJS | |
[debug] Scheduling compilation for test-projectJS... | |
[debug] Ignoring existing analysis for test-projectJS, last result was empty | |
[debug] Disabled compiler plugin classloading, unsupported in 2.11. | |
[debug] External classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-bsp-clients-classes/bloop-cli | |
[debug] Read-only classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-XMBYQswuS62CNQt0SwSoYg== | |
[debug] New rw classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-NUb_6fUmRuubv_DdlTQB3A== | |
[debug] No previous setup found, invalidating everything. | |
[debug] Full compilation, no sources in previous analysis. | |
[debug] All sources are invalidated. | |
[debug] Initial set of included nodes: | |
[debug] Recompiling all sources: number of invalidated sources > 50.0% of all sources | |
[info] Compiling test-projectJS (4 Scala sources) | |
[debug] Returning already retrieved and compiled bridge: /home/tim/.cache/bloop/components/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0.jar. | |
[debug] Returning already retrieved and compiled bridge: /home/tim/.cache/bloop/components/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0.jar. | |
[debug] [zinc] Running cached compiler 6d602bdc for Scala compiler version 2.11.12 | |
[debug] [zinc] The Scala compiler is invoked with: | |
-Ywarn-unused | |
-Xplugin:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-compiler_2.11.12/0.6.26/scalajs-compiler_2.11.12-0.6.26.jar | |
-bootclasspath | |
/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk/jre/classes:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar | |
-classpath | |
/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/src/main/resources:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/scala-2.11/resource_managed/main:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-NUb_6fUmRuubv_DdlTQB3A==:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-XMBYQswuS62CNQt0SwSoYg==:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.28/scalajs-library_2.11-0.6.28.jar | |
[warn] [E1] test-project/shared/src/main/scala/hello/App.scala:6:9 | |
local val in method main is never used | |
L6: val a = 1 // This is unused and will cause a warning | |
^^^^ | |
[warn] test-project/shared/src/main/scala/hello/App.scala: L6 [E1] | |
[info] Compiled test-projectJS (648ms) | |
[debug] Writing analysis to /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/streams/compile/bloopAnalysisOut/_global/streams/inc_compile_2.11.zip... | |
[debug] Recording new last successful request for test-projectJS associated with /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-NUb_6fUmRuubv_DdlTQB3A== | |
[debug] Wrote analysis to /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/streams/compile/bloopAnalysisOut/_global/streams/inc_compile_2.11.zip... | |
[debug] Computing sources and classpath hashes for test-projectJS-test | |
[debug] Scheduling compilation for test-projectJS-test... | |
[debug] Ignoring existing analysis for test-projectJS-test, last result was empty | |
[debug] Disabled compiler plugin classloading, unsupported in 2.11. | |
[debug] External classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-bsp-clients-classes/bloop-cli | |
[debug] Read-only classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-qS9SdipgSXGHk90ERjtWOA== | |
[debug] New rw classes directory /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-vmwQuY3BQDKrFDsI3RxI5g== | |
[debug] No previous setup found, invalidating everything. | |
[debug] Full compilation, no sources in previous analysis. | |
[debug] All sources are invalidated. | |
[debug] Initial set of included nodes: | |
[debug] Recompiling all sources: number of invalidated sources > 50.0% of all sources | |
[info] Compiling test-projectJS-test (7 Scala sources) | |
[debug] Returning already retrieved and compiled bridge: /home/tim/.cache/bloop/components/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0.jar. | |
[debug] Returning already retrieved and compiled bridge: /home/tim/.cache/bloop/components/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0/ch.epfl.scala-compiler-bridge_2.11-1.3.0-M4+26-045d2c8c-bin_2.11.12__52.0.jar. | |
[debug] [zinc] Running cached compiler 1bb09670 for Scala compiler version 2.11.12 | |
[debug] [zinc] The Scala compiler is invoked with: | |
-Ywarn-unused | |
-Xplugin:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-compiler_2.11.12/0.6.26/scalajs-compiler_2.11.12-0.6.26.jar | |
-Xplugin:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-junit-test-plugin_2.11.12/0.6.26/scalajs-junit-test-plugin_2.11.12-0.6.26.jar | |
-bootclasspath | |
/usr/lib/jvm/java-8-openjdk/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk/jre/classes:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar | |
-classpath | |
/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/scala-2.11/resource_managed/test:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-vmwQuY3BQDKrFDsI3RxI5g==:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-qS9SdipgSXGHk90ERjtWOA==:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/src/main/resources:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/scala-2.11/resource_managed/main:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-NUb_6fUmRuubv_DdlTQB3A==:/tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-XMBYQswuS62CNQt0SwSoYg==:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest_sjs0.6_2.11/3.0.4/scalatest_sjs0.6_2.11-3.0.4.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.28/scalajs-library_2.11-0.6.28.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.11.12/scala-reflect-2.11.12.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/portable-scala/portable-scala-reflect_sjs0.6_2.11/0.1.0/portable-scala-reflect_sjs0.6_2.11-0.1.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-parser-combinators_sjs0.6_2.11/1.1.2/scala-parser-combinators_sjs0.6_2.11-1.1.2.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scalacheck/scalacheck_sjs0.6_2.11/1.13.4/scalacheck_sjs0.6_2.11-1.13.4.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/com/lihaoyi/utest_sjs0.6_2.11/0.6.6/utest_sjs0.6_2.11-0.6.6.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.11/1.2.0/scala-xml_2.11-1.2.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/junit/junit/4.11/junit-4.11.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-test-interface_2.11/0.6.28/scalajs-test-interface_2.11-0.6.28.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/specs2/specs2-common_sjs0.6_2.11/4.7.0/specs2-common_sjs0.6_2.11-4.7.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-junit-test-runtime_2.11/0.6.26/scalajs-junit-test-runtime_2.11-0.6.26.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/parboiled/parboiled-core/1.1.7/parboiled-core-1.1.7.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/parboiled/parboiled-java/1.1.7/parboiled-java-1.1.7.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/specs2/specs2-core_sjs0.6_2.11/4.7.0/specs2-core_sjs0.6_2.11-4.7.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/specs2/specs2-matcher_sjs0.6_2.11/4.7.0/specs2-matcher_sjs0.6_2.11-4.7.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/com/novocode/junit-interface/0.11/junit-interface-0.11.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/pegdown/pegdown/1.6.0/pegdown-1.6.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/specs2/specs2-fp_sjs0.6_2.11/4.7.0/specs2-fp_sjs0.6_2.11-4.7.0.jar:/home/tim/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scalactic/scalactic_sjs0.6_2.11/3.0.4/scalactic_sjs0.6_2.11-3.0.4.jar | |
[info] Compiled test-projectJS-test (3945ms) | |
[debug] Writing analysis to /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/streams/test/bloopAnalysisOut/_global/streams/inc_compile_2.11.zip... | |
[debug] Recording new last successful request for test-projectJS-test associated with /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-vmwQuY3BQDKrFDsI3RxI5g== | |
[debug] Scheduling to delete /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-XMBYQswuS62CNQt0SwSoYg== superseded by /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-NUb_6fUmRuubv_DdlTQB3A== | |
[debug] Deleting contents of orphan dir /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-XMBYQswuS62CNQt0SwSoYg== | |
[debug] Wrote analysis to /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/test-project/js/target/streams/test/bloopAnalysisOut/_global/streams/inc_compile_2.11.zip... | |
[debug] Preparing test execution for test-projectJS-test | |
[debug] Scheduling to delete /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-qS9SdipgSXGHk90ERjtWOA== superseded by /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-vmwQuY3BQDKrFDsI3RxI5g== | |
[debug] Deleting contents of orphan dir /tmp/workspace-cross-test-build-scalajs-0.66371680582797447061/bloop-config/test-projectJS/bloop-internal-classes/bloop-cli-qS9SdipgSXGHk90ERjtWOA== | |
[error] Missing Scala.js's artifact bloop-js-bridge-0-6_2.12 for project 'test-projectJS-test' (resolution failed) | |
[error] Missing configured test frameworks in test-projectJS-test | |
[info] =============================================== | |
[info] Total duration: 0ms | |
[info] No test suites were run. | |
[info] =============================================== | |
[debug] Test suites failed: false | |
"""|=============================================== | |
|Total duration: ??? | |
|No test suites were run. | |
|=============================================== | |
|""".stripMargin | |
X bloop.JsTestSpec.runs all available suites 4839ms | |
bloop.testing.DiffAssertions$TestFailedException: failed assertion at /home/tim/dev/bloop/frontend/src/test/scala/bloop/TestSpec.scala:37 | |
failed assertion at /home/tim/dev/bloop/frontend/src/test/scala/bloop/testing/DiffAssertions.scala:37 | |
=========== | |
=> Obtained | |
=========== | |
=============================================== | |
Total duration: ??? | |
No test suites were run. | |
=============================================== | |
======= | |
=> Diff | |
======= | |
---∙ | |
+++∙ | |
@@ -1,4 +1,41 @@ | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.JUnitTest passed | |
+ | |
++ Greeting.is personal: OK, passed 100 tests. | |
+Summary: Passed: Total 1, Failed 0, Errors 0, Passed 1 Warning: Unknown ScalaCheck args provided: -o | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.ScalaCheckTest passed | |
+ | |
+ScalaTestTest: | |
+A greeting | |
+- should be very personal | |
+Summary: Run completed in ??? Total number of tests run: 0 Suites: completed 0, aborted 0 Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 No tests were executed. | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.ScalaTestTest passed | |
+ | |
+Specs2Test | |
+ | |
+ This is a specification to check the `Hello` object. | |
+ | |
+ A greeting | |
+ + is very personal | |
+ | |
+Total for specification Specs2Test | |
+Finished in ??? 1 example, 0 failure, 0 error | |
+ | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.Specs2Test passed | |
+ | |
+Summary: Tests: 1, Passed: 1, Failed: 0 | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.UTestTest passed | |
+ | |
=============================================== | |
Total duration: ??? | |
-No test suites were run. | |
+All 5 test suites passed. | |
=============================================== | |
bloop.testing.BaseSuite.colored(BaseSuite.scala:482) | |
bloop.testing.BaseSuite.assertNoDiff(BaseSuite.scala:461) | |
bloop.BaseTestSpec.$anonfun$new$3(TestSpec.scala:37) | |
bloop.BaseTestSpec.$anonfun$new$3$adapted(TestSpec.scala:32) | |
bloop.testing.ProjectBaseSuite.$anonfun$testProject$1(ProjectBaseSuite.scala:19) | |
bloop.testing.BaseSuite.$anonfun$test$1(BaseSuite.scala:610) | |
bloop.testing.BaseSuite.$anonfun$tests$4(BaseSuite.scala:643) | |
Execution took 12s | |
2 tests, 1 passed, 1 failed | |
=============================================== | |
Total duration: 12s | |
1 failed | |
Failed: | |
- bloop.JsTestSpec: | |
* bloop.JsTestSpec - bloop.testing.DiffAssertions$TestFailedException: failed assertion at /home/tim/dev/bloop/frontend/src/test/scala/bloop/TestSpec.scala:37 | |
failed assertion at /home/tim/dev/bloop/frontend/src/test/scala/bloop/testing/DiffAssertions.scala:37 | |
=========== | |
=> Obtained | |
=========== | |
=============================================== | |
Total duration: ??? | |
No test suites were run. | |
=============================================== | |
======= | |
=> Diff | |
======= | |
---∙ | |
+++∙ | |
@@ -1,4 +1,41 @@ | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.JUnitTest passed | |
+ | |
++ Greeting.is personal: OK, passed 100 tests. | |
+Summary: Passed: Total 1, Failed 0, Errors 0, Passed 1 Warning: Unknown ScalaCheck args provided: -o | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.ScalaCheckTest passed | |
+ | |
+ScalaTestTest: | |
+A greeting | |
+- should be very personal | |
+Summary: Run completed in ??? Total number of tests run: 0 Suites: completed 0, aborted 0 Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0 No tests were executed. | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.ScalaTestTest passed | |
+ | |
+Specs2Test | |
+ | |
+ This is a specification to check the `Hello` object. | |
+ | |
+ A greeting | |
+ + is very personal | |
+ | |
+Total for specification Specs2Test | |
+Finished in ??? 1 example, 0 failure, 0 error | |
+ | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.Specs2Test passed | |
+ | |
+Summary: Tests: 1, Passed: 1, Failed: 0 | |
+Execution took ??? | |
+1 tests, 1 passed | |
+All tests in hello.UTestTest passed | |
+ | |
=============================================== | |
Total duration: ??? | |
-No test suites were run. | |
+All 5 test suites passed. | |
=============================================== | |
=============================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment