android / android/testing-samples

Is there any sample for multiple modules app with espresso and dagger android

Open
#291 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.3k
Forks
3.6k
PR merge metrics
No merged PRs in 30d

Description

Scenario
- app module contains the app component with its modules for inject sub modules dependencies
- module1 contains activity with its own espresso test
- module2 contains activity with its own espresso test
- module1 start activity from module2
- module2 throw
```
java.lang.IllegalArgumentException: No injector factory bound for Class
```

Contributor guide

Open the contributing guide

Research direction

The issue describes an app module plus module1 and module2, with LoginActivity failing because no injector factory is bound. Start by clarifying whether the requested outcome is a sample or a fix, then inspect the multi-module Espresso and Dagger setup. Done would require a documented or working example that resolves the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.