How can I run one Android test using Kotlin?

I use Kotlin 1.0.3 to develop Android in unit testing, but when I try to run one test, it runs all the tests of the class. Does anyone know how to avoid this behavior?

+6
source share
1 answer

There is an issue with the IntelliJ platform, which forces tests for the entire class to run if you try to run one test and have an existing launch configuration for the entire class.

To run one method, you need to remove the configuration for the entire class using Run | Change settings ... action.

+7
source

All Articles