Skip to content

Instantly share code, notes, and snippets.

View coachroebuck's full-sized avatar

Michael Roebuck coachroebuck

View GitHub Profile
@brunodles
brunodles / gist:badaa6de2ad3a84138d517795f15efc7
Last active February 17, 2023 03:10
This is a test to show how to use expresso to check if a toast was displayed.
package com.github.brunodles.toastespresso;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;