Running into issues trying to filter tests contain...
# test
a
Running into issues trying to filter tests contained in nested classes. I can't tell if this is a Gradle issue, an IntelliJ issue, or a
kotlin.test
issue. Or maybe it's multiple issues combined 😵 • when clicking the gutter icon, IntelliJ is generating a
--tests
filter that doesn't work • I can manually change the
--tests
filter to one that does work in IntelliJ by changing the nested-class separator from
.
to
$
• Neither the original, nor the modified
--tests
filter works when running via
./gradlew
the modified
--tests
filter to work when running via
./gradlew
when using single-quotes instead of double-quotes Here's some context: https://youtrack.jetbrains.com/issue/KTIJ-10168#focus=Comments-27-5256146.0-0
e
at the command line your shell is interpreting $, use single ' quotes instead of double " quotes
👀 1
a
Solid! so now gradle and intellij behavior with the same filter is identical. This leads me to believe this is an intellij bug