zio / zio-intellij

A companion IntelliJ IDEA plugin for the ZIO library ecosystem.
Apache License 2.0
214 stars 40 forks source link

Test runner runs multiple tests when only one is selected #284

Open mikrasilnikov opened 3 years ago

mikrasilnikov commented 3 years ago

When I select a test with name X runner executes every test in suite with a name that contains X If I run foo it runs foo and foo bar

Plugin version: 2021.1.9.1

05Gr1CDHl1

hmemcpy commented 3 years ago

Thanks for the report, but unfortunately this is a "limitation" (or, rather, the intended functionality) of ZIO Test - you'll get the same results running -t "foo" with sbt. (See #30 for more details).

There were talks about implementing another type of filtering in zio-test itself, it would solve the problem here too, but I'm not sure if this was ever implemented. Perhaps @adamgfraser knows?

adamgfraser commented 3 years ago

Definitely something we could support but I don't think there has been any work on it. PRs welcome!