-
Notifications
You must be signed in to change notification settings - Fork 29
Can't run individual test methods from IntelliJ #31
Comments
Interesting. It seems when you run a single method, a I'm now sure where this hierarchy is generated, but it seems having multiple tests share the same unique ID breaks an assumption somewhere. |
I looked into Unfortunately it looks like IntelliJ made this work using a special SelectedParameterizedRunner which has direct access to the class and method name. They skip the normal test filtering code and do it in the runner's Haven't quite given up though. We can override |
I'm unable to run an individual test case from the latest Android Studio when I have When I comment out that annotation (and whichever test(s) need Burst), then I can run individual test methods again. This was definitely observed on Android Studio 4.0.2 and 4.1. I thought I'd seen this behavior prior to Android Studio 4.0 as well, but I hadn't considered the connection to Burst so I didn't test that at the time. This is mainly significant when I'm trying to debug test runs after refactoring a class. |
For tests with method variations it seems like you can't run an individual test from IntelliJ, only all the tests in a class.
Haven't really thought about if there's a fix or if it even matters.
The text was updated successfully, but these errors were encountered: