Skip to content

Commit

Permalink
Fixes issue #2570 - Describe how to run one Servlet TCK test (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored May 18, 2022
1 parent 3f5f752 commit bf84aff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@ Or go into the directory of the external test you want to run and use:
mvn clean install
```

For the Servlet TCK if you want to run a singular test use
`-Drun.test=expression`. See the example below.

```
mvn -Drun.test=com/sun/ts/tests/servlet/spec/errorpage/URLClient.java#servletToDifferentErrorPagesTest verify
```

## Problems

Support for Java modules has a feature gap in Eclipse and as such a workaround
needs to be employed to make it work properly (June 2021).

0 comments on commit bf84aff

Please sign in to comment.