Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class RegisterUserSteps{
- @Rule
- var activityTestRule: ActivityTestRule<SignupActivity> = ActivityTestRule(SignupActivity::class.java)
- private var activity: Activity? = null
- @Before
- fun setup() {
- activity = activityTestRule.launchActivity(null)
- }
- @After
- fun tearDown() {
- //activityTestRule.finishActivity()
- }
- @Given("^I have a Signup Screen shown$")
- fun I_have_a_SignupActivity_shown() {
- //assertNotNull(activity)
- }
- .
- .
- .
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement