How to run ?
# Run Unit test
$./gradlew test
# Run UI test
$./gradlew cAT
# Run with coverage report
$./gradlew fullCoverageReport
# Run with Fastlane screengrab
$./gradlew clean assembleDebug assembleAndroidTest
$fastlane screengrab
-
Introduction Android testing in Android Studio
-
Unit testing with JUnit 4
- Basic of JUnit
- Create first unit test
- TDD (Test-Driven Development)
- Run Unit test from Android Studio
- Run Unit test from command-line and see result in HTML fotmat
- Try to run code coverage with Jacoco
-
UI testing with Espresso
- Basic of Espresso for UI Testing
- Create first tests
- Run UI test from Android Studio
- Run UI test from command-line and see result in HTML fotmat
- Try to run code coverage
- Combine the code coverage result from UI and Unit test
-
Capture screen with Fastlane screengrab
- Run monkey testing
- Add more tests for new features (Test-Driven Development)
- Working with REST APIs (Retrofit and OkHTTP)
- How to testing with REST APIs ? (MockWebServer vs Stubby4J vs Real API)
- Testable application (Refactor with confidene)
- Working with Continuous Integration (Jenkins)