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
If you have multiple test scopes with tests of the same name, e.g.,
TestClass
"foo" should "do blah"
"bar" should "do blah"
"baz" should "do blah"
running any of them (e.g., "--filter=TestClass#foo::do blah", "--filter=TestClass#bar::do blah", "--filter=TestClass#baz::do blah"), will only run the first one (i.e., "foo" should "do blah").
The text was updated successfully, but these errors were encountered:
Correction, for the third issue, it looks like you run tests from all scopes with the same name, but only report the first one, and whichever one has an error in the test.xml.
So
If you have:
TestClass
"foo" should "do blah" pass
"bar" should "do blah" pass
"baz" should "do blah" fail
"asdf" should "do nothing" fail
And you run --test_filter=TestClass#bar should::do blah the test runner will run all of these:
"foo" should "do blah"
"bar" should "do blah"
"baz" should "do blah"
and report these in the test.xml
"foo" should "do blah" passed
"baz" should "do blah" failed
bazelbuild/intellij#155 (comment)
bazelbuild/intellij#155 (comment)
bazelbuild/intellij#155 (comment)
The text was updated successfully, but these errors were encountered: