- Install Java JDK 11, or higher
- check your version with console command
java -version - if you have a higher version, please
- check your version with console command
- Install IntelliJ, make sure to select plugins Maven and JUnit
- Download the code in this repo (if you want to use Github, you may fork and clone)
- Run IntelliJ and choose
Open...and locate the directory you downloaded - If your Java version was higher than 11, update the settings:
- edit file
.java-version - edit file
pom.xml - check
File > Project Structure..., add toProject SDKthe location of your Java installation
- edit file
- Open a console, cd into the project root, and run command (you may need to install Maven first)
mvn clean install- Locate a class in IntelliJ project tree, it should be located under
src/test/ - Right/Ctrl-click on it and select
▶ Run ... - See the test-runner pop up, showing your ✔ Test Results.
solutions branch/tree/solutions