Bladeren bron

hello-world: explain @Ignore annotations

Frida Johanne Tveit 9 jaren geleden
bovenliggende
commit
6cef429089
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4
    0
      exercises/hello-world/GETTING_STARTED.md

+ 4
- 0
exercises/hello-world/GETTING_STARTED.md Bestand weergeven

@@ -18,6 +18,10 @@ Try writing a solution that passes one test at a time, running Gradle each time:
18 18
 $ gradle test
19 19
 ```
20 20
 
21
+To help you focus on one test at a time, [@Ignore](http://junit.sourceforge.net/javadoc/org/junit/Ignore.html)
22
+annotations have been added to every test but the first one. Any test with an `@Ignore` annotation will be skipped
23
+when you run the tests.
24
+
21 25
 ## Iterate through the tests
22 26
 
23 27
 After your first test passes, remove the `@Ignore` from the next test, and iterate on your solution,