[
https://issues.apache.org/jira/browse/WINK-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754781#action_12754781
]
Bryant Luk commented on WINK-60:
--------------------------------
Added ability to see what the debug logs are like.
In the integration tests, there are options in various combinations (currently
only supporting Geronimo versions):
-Dwink.rest.filter.used
Use the filter instead of the servlet.
-Dwink.log
Write the log files to target/surefire-reports/artifactId-(info,trace).log.
Creates a log file that dumps what the INFO version would look like and another
file that dumps what the TRACE version would look like.
-DassemblyId=(jetty,tomcat)
Use Geronimo but choose Tomcat or Jetty.
-Doptions=debug, morememory
For Geronimo, allow a remote debugger to be used and/or to use more memory.
Uses the optionSets that Jason mentioned for Geronimo.
So from wink-itests:
mvn clean install -Dwink.rest.filter.used -Dwink.log -DassemblyId=jetty
would use the filter, log output that's saved after the run, and uses a
Geronimo version powered by Jetty.
> Make a better way to debug integration tests
> --------------------------------------------
>
> Key: WINK-60
> URL: https://issues.apache.org/jira/browse/WINK-60
> Project: Wink
> Issue Type: Improvement
> Components: Testsuite
> Affects Versions: 0.1
> Reporter: Bryant Luk
> Assignee: Bryant Luk
> Fix For: 0.2
>
>
> Will add some plugin configuration code to enable better logging and other
> things for debugging integration tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.