Kristian Rosenvold created SUREFIRE-894:
-------------------------------------------
Summary: Do not fork process when there are no tests to run (for
forkMode=once)
Key: SUREFIRE-894
URL: https://jira.codehaus.org/browse/SUREFIRE-894
Project: Maven Surefire
Issue Type: Improvement
Reporter: Kristian Rosenvold
When running forkmode="once", surefire always forks a process, since the
scanning process is performed inside the fork.
On my machine, this effectively means surefire will ALWAYS spent around 125ms
as a minimum execution time. This can easily add a couple of seconds to my
build time since I have several modules without tests (api modules, war modules
etc)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira