architecture-components-samples
architecture-components-samples copied to clipboard
[GithubBrowserSample] has no e2e tests
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?