Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kl3jvi/TakeAway

Repository files navigation

TakeAway Sample App

Introduction

Building

You can open the project in Android studio and press run.

Testing

The project uses both instrumentation tests that run on the device and local unit tests that run on your computer.

Device Tests

Database Tests

The project creates an in memory database for each database test but still runs them on the device. To run both of them and generate a coverage report, you can run:

./gradlew fullCoverageReport (requires a connected device or an emulator)

Local Unit Tests

ViewModel Tests

Each ViewModel is tested using local unit tests with mock Repository implementations.

Repository Tests

Each Repository is tested using local unit tests with mock database.

Libraries

TakeAway test project

About

TakeAway test project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages