summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarco de Wild <mdwild@sogyo.nl>2021-01-19 15:10:18 +0100
committerMarco de Wild <mdwild@sogyo.nl>2021-01-19 15:10:18 +0100
commit6f89051b1f3d2ff2e6e4e4a574276cc06ecedbb7 (patch)
treeed4dee99845cd20814b89b6f53964d53bededa76 /README.md
parent848d54d91a894b6a62284e08db471a95b0d1cdaa (diff)
Added explanation about failing test
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 18f211d..ad46ee4 100644
--- a/README.md
+++ b/README.md
@@ -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