Details
-
Suggestion
-
Resolution: Fixed
-
None
Description
Extend a following page:
http://confluence.atlassian.com/display/CLOVER/Working+with+Distributed+Applications
or add a subpage.
Prepare a step-by-step tutorial how to set compile options, deploy artifacts and set container options in order to test web applications. Things to be considered (not a complete list):
- fact that -Dclover.distributed.coverage=ON it will use the default settings including the default numClients=0
- numClients must be set to 1 in order to have blocking unit tests
- we need a servlet context listener to avoid circular dependency: unit tests are waiting for business code to connect, but business code will not connect until first request (which will be triggered by unit tests)