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

Test running twice or not #540

Open pacifickashyap opened 6 years ago

pacifickashyap commented 6 years ago

As per my observation, spoon first run the command - am instrument -w -r -e log true com.xxx.app.test/android.support.test.runner.AndroidJUnitRunner to get the list of Active Tests then again run the test one by one to get the result.

Issue: test running twice increasing time sometime if there is large number of test cases, app crashes to provide imcomplete list of Active test resulting in some test cases not running.

can anything be done to get the list without running the test cases.