This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
TestGoalMultipleProjects
Thomas Bouffard edited this page Mar 24, 2014
·
8 revisions
TODO documentation to be improved
You have the following solutions
- multiple executions with each project: http://www.soapui.org/forum/viewtopic.php?f=14&t=5381#p37338 or http://www.soapui.org/forum/viewtopic.php?f=1&t=3832&p=15479#p17252
- a maven module per soapui project: http://www.soapui.org/forum/viewtopic.php?f=5&t=15747&p=37483&hilit=maven#p37483
In both cases, you need to set the testFailIgnore
parameter to true to be sure all projects run. Because of this, you cannot know if some projects fail (or you must develop something to detect this)
Use
- multiple executions of the
test
goal - run the
test-multi
goal and configure the all the projects you want to test
In all cases, set the testFailIgnore
parameter to true and also configure the test-verify
goal provided by the maven-soapui-extension-plugin. This let you run all projects and fail the build if one project failed.
For instance, see this integration test
TODO to be confirmed
- Use surefire-report as I describe in this soapui post
- modify the integration test above to prove this