XPlanner uses an extension of jwebunit to run its acceptance tests.
One of the extension is an Acceptance Test Console. The console allows to step through all "jwebunit" calls and renders the returned page in a swing ui or log it as a textual trace.
Features
The ui provides the following functions:
- step through each calls,
- pause a running test
- displays in a side by side panels both rendered html and raw html text
- search the raw html text for a string

Setup
When running an acceptance tests add the following vm options test.console:
java -Dtest.console <class>
In IDEA
- Click on the run configuration combo-box in the tool bar and select the "Edit Configurations" item.
- Add -Dtest.console or -Dtest.ui in the VM arguments

| Option | Description |
|---|---|
| test.console | text trace of all test actions |
| test.ui | ui console useful to view what xplanner is sending back to the client |


