These examples correlate with the course material for "Introduction to JUnit 5" on Caster.IO. For each applicable lesson, there is a corresponding Git branch inside this repository.
Clone the repository, check out a branch of your choice & open the project with IntelliJ IDEA or Android Studio.
There are three modules inside this repository, which make up the sample project under test:
android
: Android application for Blackjackcli
: Console application for Blackjackcommon
: Business logic & common code shared by both application modules
Because IntelliJ IDEA doesn't like Android and pure-Java modules living side by side in the same project,
the android
module is disabled by default, and the Console application is executable.
If you want to see the Android application in action, or run its tests,
please open the settings.gradle
file and change the value of the USE_ANDROID
flag.