I'd like to run only 1 test in 1 file. Identical to adding .only() to a Mocha test. Is there an annotation that I can add to a test so only that test is run?
Asked
Active
Viewed 64 times
1
-
Do you mean you want to disable all tests (except one) on CI or you want to run one test in AndroidStudio? – Eugen Martynov Jul 17 '15 at 13:56
-
I just want to run one unit test. – zafrani Jul 18 '15 at 02:36
-
In AS or from command line? – Eugen Martynov Jul 18 '15 at 17:13
-
I've tried this link http://stackoverflow.com/questions/22505533/how-to-run-a-one-test-class-only-on-gradle but it didn't work. Looks like test classes are compiled to another folder. So it is most probably doable. I'm adding gradle tag to involve build tool community – Eugen Martynov Jul 19 '15 at 03:21