levibostian / AndroidBlanky

Create a new Android app fast. Comes pre-installed with libraries you already use.
7 stars 0 forks source link

Use of integration testing in AndroidBlanky #49

Closed levibostian closed 4 years ago

levibostian commented 5 years ago

Right now, unit tests are taking up most of the testing of the business logic of the app. There is some integration tests running, but it uses mocks and is only testing the repository objects. We need tests that test use cases, without mocks to test full workflows.

I believe we should move over to using mockwebserver to have the full implementation tested. Also the use of Robolectric perhaps? I have not used Robo in years, but it may be worth looking into. Once android integration tests are compiled and installed, they run fast but getting to that point can take a while!

Breakdown of testing setup now:

levibostian commented 4 years ago

integration tests test everything except the UI. ViewModel all the back to the backend.