Skip to content

Commit

Permalink
Updated testing.adoc with a test out of order
Browse files Browse the repository at this point in the history
  • Loading branch information
jclingan committed Oct 23, 2020
1 parent 1f79b48 commit 8973411
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docs/testing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,25 +92,6 @@ public String getRandom() {
// *********************************************
'''
. Run the test
+
--
.Terminal 3
[source,shell script]
----
mvn test
----
.Terminal 3 output
[source,text]
----
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
----
--
+
// *********************************************
'''
. Update `FirstStepsResourceTest` to test JSON response
+
--
Expand All @@ -137,6 +118,25 @@ the results have to match exactly
// *********************************************
'''
. Run the test
+
--
.Terminal 3
[source,shell script]
----
mvn test
----
.Terminal 3 output
[source,text]
----
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
----
--
+
// *********************************************
'''
. Annotate `FirstStepsResourceTest` with @TestHttpEndpoint to abstract
top-level PATH from tests
Expand Down

0 comments on commit 8973411

Please sign in to comment.