Last active
June 18, 2019 02:38
-
-
Save fo2rist/6286618158c2a4cd6f47cae422f89f98 to your computer and use it in GitHub Desktop.
Simple Espresso Test Setup / Infinite Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(AndroidJUnit4::class) | |
class BaseMainActivityTest { | |
@get:Rule | |
var activityRule = ActivityTestRule(MainActivity::class.java) | |
@Test | |
fun acitivityIsRunning() { | |
if (true) while(true) Thread.sleep(100); /*DEBUG*/ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment