architecture-components-samples icon indicating copy to clipboard operation
architecture-components-samples copied to clipboard

[GithubBrowserSample] has no e2e tests

Open sreekanth-krishnan opened this issue 5 years ago • 0 comments

The [GithubBrowserSample] disables the dependency injection in andrdoid tests.

/**
 * We use a separate App for tests to prevent initializing dependency injection.
 *
 * See [com.android.example.github.util.GithubTestRunner].
 */
class TestApp : Application()

This makes it easy to test everything separately. But what if I want to write a small number of e2e tests without mocking any dependencies? Is that not recommended at all?

sreekanth-krishnan avatar Jul 23 '19 16:07 sreekanth-krishnan