-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
README | ||
====== | ||
|
||
The `runner` module runs the REST TCK tests so make sure you are in its | ||
directory when you need to debug any tests. | ||
|
||
To run a single test, use the following command: | ||
|
||
``` | ||
mvn -Dit.test=TestName verify | ||
``` | ||
|
||
To run a single test in debug mode, use the following command: | ||
|
||
``` | ||
mvn -Dmaven.surefire.debug -Dit.test=TestName verify | ||
``` | ||
|
||
To run a single test in debug mode with a specific port, use the following | ||
command: | ||
|
||
``` | ||
mvn -Dmaven.surefire.debug -Dmaven.surefire.debug.port=5005 -Dit.test=TestName verify | ||
``` | ||
|
||
To run a single test in debug mode with a specific port and suspend, use the | ||
following command: | ||
|
||
``` | ||
mvn -Dmaven.surefire.debug -Dmaven.surefire.debug.port=5005 -Dmaven.surefire.debug.suspend=y -Dit.test=TestName verify | ||
``` | ||
|
||
To run a single test and put Piranha in debug and susspend mode use the | ||
following command: | ||
|
||
``` | ||
mvn -Dpiranha.debug=true -Dpiranha.suspend=true -Dit.test=TestName verify | ||
``` |