You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristian Rosenvold <kr...@apache.org> on 2012/08/11 13:56:35 UTC

[ANN] Maven Surefire Plugin 2.12.2 (And 2.12.1) Released

The Maven team is pleased to announce the release of the Maven
Surefire Plugin, version 2.12.2.

The release announcement for 2.12.1 seems
to have bounced, so it is included in this mail too.

This release includes the maven-surefire-plugin, which executes the
unit tests of an application, the maven-surefire-report-plugin, which
parses surefire/failsafe test results and renders them to DOXIA
creating the web interface version of the test results, as well as the
maven-failsafe-plugin, which executes the integration tests of an
application.

http://maven.apache.org/plugins/maven-surefire-plugin/

http://maven.apache.org/plugins/maven-failsafe-plugin/

You should specify the version in your project's plugin configuration:


<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.12.2</version>
</plugin>



Release Notes - Maven Surefire - Version 2.12.2


** Bug
    * [SUREFIRE-896] - surefire 2.12.1 doesn't work with maven 2.2.1
    * [SUREFIRE-897] - System.exit() in ForkedBooter might hang due to
swing/windows bug
    * [SUREFIRE-898] - error with 2.12.1 (works with 2.12)



** Improvement
    * [SUREFIRE-846] - Maven surefire plugin creates two surefire*
directories in the ${project.build.directory}
    * [SUREFIRE-887] - Do not hold forked surefire for debug if there
are no tests
    * [SUREFIRE-894] - Do not fork process when there are no tests to
run (for forkMode=once)




Release Notes - Maven Surefire - Version 2.12.1

Bug

    [SUREFIRE-659] - Maven PDF plugin:showSuccess=false creates empty
table causing error
    [SUREFIRE-825] - NPE in JUnit4TestChecker if
org.junit.runner.RunWith class can't be loaded by testClassloader
    [SUREFIRE-827] - Surefire 2.12 cannot run a single test,
regression from 2.11
    [SUREFIRE-828] - testng test need a excludedGroups element to not fail
    [SUREFIRE-832] - JUnit categories only work when junit47 provider
is explicitly set
    [SUREFIRE-836] - regression with surefire 2.12 plugin and SecurityManager
    [SUREFIRE-844] - "test" parameter no longer working with JUnit in
2.12 (worked in 2.9 - 2.11)
    [SUREFIRE-847] - surefire cannot run single testng test
    [SUREFIRE-858] - Running a single unit test in Windows
    [SUREFIRE-865] - surefire 2.12 with parallel=methods does not
execute junit 4.7+ tests in parallel
    [SUREFIRE-869] - Parallel test execution on class level runs not
all tests but some twice
    [SUREFIRE-871] - Output of forked tests with non-zero exit code not retained
    [SUREFIRE-877] - Surefire doesn't support "mixed" TestNG 6.5.x
config parameter
    [SUREFIRE-879] - maven-surefire-report-plugin fails some times
with ConcurrentModificationException when running parallel TestNG
    [SUREFIRE-880] - ObjectFactory no longer works with TestNG 6.5.2
    [SUREFIRE-883] - Cannot run tests in parallel

Improvement

    [SUREFIRE-745] - -Dtest supports multiple test classes but not
multiple test methods
    [SUREFIRE-876] - surefire-junit47 does not work in an OSGi
classloader environment
    [SUREFIRE-881] - use plugins annotations
    [SUREFIRE-889] - JUnit | supprot inheritance of test's categories/groups

We unresolved 1 issue; which had to be reverted because it was the
root cause of several of the above issues:

https://jira.codehaus.org/browse/SUREFIRE-800



Enjoy,

-The Maven team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org