Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65BC796FA for ; Sun, 4 Dec 2011 20:43:17 +0000 (UTC) Received: (qmail 93150 invoked by uid 500); 4 Dec 2011 20:43:16 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 92821 invoked by uid 500); 4 Dec 2011 20:43:16 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 92700 invoked by uid 99); 4 Dec 2011 20:43:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 20:43:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Dec 2011 20:43:09 +0000 Received: by vcbfo1 with SMTP id fo1so19949558vcb.30 for ; Sun, 04 Dec 2011 12:42:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.106.200 with SMTP id y8mr619430vco.142.1323031367721; Sun, 04 Dec 2011 12:42:47 -0800 (PST) Sender: kristian.rosenvold@zenior.no Received: by 10.52.21.6 with HTTP; Sun, 4 Dec 2011 12:42:47 -0800 (PST) Date: Sun, 4 Dec 2011 21:42:47 +0100 X-Google-Sender-Auth: LlQuBlWfFnJ1Wzn7jY5fIaEjA_E Message-ID: Subject: [ANN] Maven Surefire Plugin 2.11 Released From: Kristian Rosenvold To: announce@maven.apache.org, users@maven.apache.org Cc: dev@maven.apache.org Content-Type: multipart/alternative; boundary=f46d0432b1dab3228404b34a3ea8 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0432b1dab3228404b34a3ea8 Content-Type: text/plain; charset=ISO-8859-1 The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.11 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. This version supports JUnit 4.8 @Category annotation, using the "groups" parameter on the plugin (using the 4.7 provider). The other new feature in this release are runOrder="failedfirst" and runOrder="balanced", this last parameter tries to optimize the overall run-time for parallel test runs. Users migrating from "classic" JUnit4 to the 4.7 provider to use categories may want to take note of http://jira.codehaus.org/browse/SUREFIRE-798 Users having troubles running with forkMode="never" for 2.9 and 2.10 may want to take note of http://jira.codehaus.org/browse/SUREFIRE- 801. Changes to the proposed Surefire API are documented in the API page http://maven.apache.org/plugins/maven-surefire-plugin/api.html This version is marked as the last java 1.4 compatible version, the next version will be java 1.5. Surefire can still *fork* all the way down to jdk 1.3 for JUnit 3.8.1. 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: org.apache.maven.plugins maven-surefire-plugin 2.11 Release Notes - Maven Surefire - Version 2.11 ** Bug * [SUREFIRE-508] - cannot run GWTTestCases with surefire * [SUREFIRE-549] - TestNg provider does not run junit tests correctly when forkMode=always * [SUREFIRE-746] - Other registered failing RunListeners cause NullPointerException in ConcurrentReporterManager, falsely report of "No tests were executed!": * [SUREFIRE-760] - mvn -Dtest=ClassName#methodName does not work with parallel tests * [SUREFIRE-775] - ForkingRunListener throws ArrayIndexOutOfBoundsException * [SUREFIRE-777] - Wrong default name for Failsafe Report * [SUREFIRE-780] - Success claimed when jvm fails to launch * [SUREFIRE-782] - Wrong links on surefire-plugin page * [SUREFIRE-785] - Lots of newlines being strewn about in test output * [SUREFIRE-786] - JUnit @Category are not taken into account if forkMode=always * [SUREFIRE-787] - Test fail cause message is badly displayed if exception message conatins line feeds * [SUREFIRE-791] - JUnit47 provider reports incorrect elapsed time on test failure. * [SUREFIRE-793] - JUnit47 provider reports incorrect time in the XML report * [SUREFIRE-801] - Classloading compatibility break with forkMode=NEVER in 2.9 and 2.10 ** Improvement * [SUREFIRE-518] - Do not generate empty ouput files when redirectTestOutputToFile is enabled * [SUREFIRE-611] - surefire exit code should explicitly distinguish between crashed and failed unit test(s) * [SUREFIRE-772] - [Report Goal] Skip Maven Failsafe Report ** New Feature * [SUREFIRE-656] - JUnit 4.8 @Category support * [SUREFIRE-795] - There should be a way to balance tests across threads ** Story * [SUREFIRE-784] - Surefire plugin cannot be debugged remotely by eclipse ** Task * [SUREFIRE-802] - Dcoument Surefire API changes ** Wish * [SUREFIRE-329] - Support for JUNIT extensions Enjoy, -The Maven team --f46d0432b1dab3228404b34a3ea8--