android - Robolectric - how to disable a unit test? -


i have robolectric unit test work in progress. want disable temporarily pending implementation, don't want comment out entire test.

how can robolectric unit test temporarily disabled without removing test?

the junit @ignore attribute can used temporarily disable unit test:

@runwith(myrobolectricgradletestrunner.class) public class testabc123 extends mytestbase {     @ignore   // attribute may removed once test ready     @test     public void testabc123scenerio1()     { 

ignored tests shown amber disc horizontal bars:

ignored test output


Comments