Skip to content

Commit

Permalink
Fixes #4037 - Add README describing how to debug with REST TCK (#4038)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 6, 2024
1 parent aea432a commit e717ed9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions external/coreprofile-tck/rest/README.md
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
```

0 comments on commit e717ed9

Please sign in to comment.