square / spoon

Distributing instrumentation tests to all your Androids.
https://square.github.io/spoon/
Apache License 2.0
2.7k stars 477 forks source link

Run each class in it's own instrumentation (#531) #532

Open JDFind opened 6 years ago

JDFind commented 6 years ago

Lately, I've been using the feature of running each test in it's own instrumentation a lot. It really helps with test isolation, but also greatly increases the run time.

As a solution, I added a parameter to run a different instrumentation for each test class, as opposed to each test method (#531). If you are also interested in this feature, feel free to review and request changes where necessary.