You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should "greet the given name" in {
- assert(Hello.hello("Some Name") === "Hello Some Name!")+ assert(Hello.hello("Some Name") === "Hello some Name!")
}
Click "Run selected configuration" on the Bazel test :tests_..._HelloSpec.scala run configuration.
Click "Rerun Failed Tests"
Observe the following test failue
...
//:tests_test_suite_src_test_scala_org_example_hello_HelloSpec.scala FAILED in 1.1s
...
Executed 1 out of 1 test: 1 fails locally.
Empty test suite.
Notice how Bazel is passed an empty --test_filter= argument
Executing the following command reveals the actual error
$ bazel test --test_filter= --cache_test_results=no --test_output=errors -- //:tests_test_suite_src_test_scala_org_example_hello_HelloSpec.scala
...
==================== Test output for //:tests_test_suite_src_test_scala_org_example_hello_HelloSpec.scala:
*** RUN ABORTED ***
java.lang.ClassNotFoundException:
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
...
INFO: Build completed, 1 test FAILED, 2 total actions
...
INFO: Build completed, 1 test FAILED, 2 total actions
Expected behavior: Call bazel with a non-empty --test_filter argument such as
--test_filter=org.example.hello.HelloSpec
The text was updated successfully, but these errors were encountered:
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.
Clicking the "Rerun Failed Tests" icon constructs an empty
--test_filter=
parameter to Bazel which always causes the test to fail.Steps to Reproduce
Checkout this example project
Import into IntelliJ using this project view file
Modify the test-case to make it fail. E.g.
Click "Run selected configuration" on the

Bazel test :tests_..._HelloSpec.scala
run configuration.Click "Rerun Failed Tests"

Observe the following test failue
Notice how Bazel is passed an empty
--test_filter=
argumentDetails
--test_filter
argument such asThe text was updated successfully, but these errors were encountered: