diff options
| author | Marco de Wild <mdwild@sogyo.nl> | 2021-01-19 15:10:18 +0100 |
|---|---|---|
| committer | Marco de Wild <mdwild@sogyo.nl> | 2021-01-19 15:10:18 +0100 |
| commit | 6f89051b1f3d2ff2e6e4e4a574276cc06ecedbb7 (patch) | |
| tree | ed4dee99845cd20814b89b6f53964d53bededa76 /README.md | |
| parent | 848d54d91a894b6a62284e08db471a95b0d1cdaa (diff) | |
Added explanation about failing test
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,18 +35,18 @@ To tell the build tool which files to compile, the above structure is used. In s ## Using Gradle -You can either install Gradle on your machine and use the installation or use the Gradle wrapper files found next to this README. +You can either install Gradle on your machine and use the installation or use the Gradle wrapper files found next to this README. Replace the `./gradlew` command with `gradle` if using the globally installed Gradle or `.\gradlew.bat` if you're running the Windows batch script. ```bash # Building ./gradlew build -# Testing +# Testing (will fail with the initial code) ./gradlew test # Running (only relevant for the MVC case) ./gradlew run ``` -Replace the `./gradlew` command with `gradle` if using the globally installed Gradle or `.\gradlew.bat` if you're running the Windows batch script. +When you run the test, you will see a build failure. In `domain/src/test/java/mancala/domain.FooTest.java`, there is a failing test. If you fix the failing test, the build will succeed. ## Assignment |
