|
|
|
|
|
|
33
|
|
33
|
|
|
34
|
Before proceeding any further, make sure you have completed the required setup
|
34
|
Before proceeding any further, make sure you have completed the required setup
|
|
35
|
steps described by the links below:
|
35
|
steps described by the links below:
|
|
36
|
-* [Installing Java](http://exercism.io/languages/java/installing);
|
|
|
|
|
|
36
|
+* [Installing Java](http://exercism.io/languages/java/installation);
|
|
37
|
* [Running the Tests (in Java)](http://exercism.io/languages/java/tests).
|
37
|
* [Running the Tests (in Java)](http://exercism.io/languages/java/tests).
|
|
38
|
|
38
|
|
|
39
|
## Step 1: Run the tests against the starter solution
|
39
|
## Step 1: Run the tests against the starter solution
|
|
40
|
|
40
|
|
|
41
|
Use Gradle to run the tests:
|
41
|
Use Gradle to run the tests:
|
|
42
|
|
42
|
|
|
43
|
-Make sure you have gradle installed on your device. Write this code in your termianl:
|
|
|
|
44
|
-```
|
|
|
|
45
|
-$ gradle -- version
|
|
|
|
46
|
-```
|
|
|
|
47
|
-if you got somthing like [Gradle 2.X.X] or higher then you are fine otherwise install it by writing this code in the termianl:
|
|
|
|
48
|
-```
|
|
|
|
49
|
-$ brew install gradle
|
|
|
|
50
|
-```
|
|
|
|
51
|
-Now you can run the tests by writing this code below:
|
|
|
|
52
|
```
|
43
|
```
|
|
53
|
$ gradle test
|
44
|
$ gradle test
|
|
54
|
```
|
45
|
```
|