Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 39338 invoked from network); 10 Aug 2009 23:10:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Aug 2009 23:10:42 -0000 Received: (qmail 34530 invoked by uid 500); 10 Aug 2009 23:10:49 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 34502 invoked by uid 500); 10 Aug 2009 23:10:49 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 34493 invoked by uid 500); 10 Aug 2009 23:10:49 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 34490 invoked by uid 99); 10 Aug 2009 23:10:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 23:10:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 23:10:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6EC8929A0015 for ; Mon, 10 Aug 2009 16:10:15 -0700 (PDT) Message-ID: <1100496362.1249945815452.JavaMail.jira@brutus> Date: Mon, 10 Aug 2009 16:10:15 -0700 (PDT) From: "Martin Grotzke (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Created: (BUILDR-301) Build completes successfully on configuration failures and skipped tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Build completes successfully on configuration failures and skipped tests ------------------------------------------------------------------------ Key: BUILDR-301 URL: https://issues.apache.org/jira/browse/BUILDR-301 Project: Buildr Issue Type: Bug Components: Test frameworks Affects Versions: 1.3.4 Environment: Tested on Linux (Fedora, Debian/Ubuntu) Reporter: Martin Grotzke This issue is related to the report on the mailing list: http://n2.nabble.com/Build-completes-successfully-on-configuration-failures-and-skipped-tests-td3332816.html#a3332816 I reproduced what we encountered in a simple project that has these test classes - a BaseTest with a beforMethod that fails and a test method (that is skipped) - a Test1 that extends BaseTest, with a test method that is also skipped. This is the output of a `buildr clean test': [grotzke@mescalin testmodule]$ buildr clean test (in /home/grotzke/proj/buildr-sandbox, development) Cleaning buildr-sandbox:testmodule Testing buildr-sandbox:testmodule Compiling buildr-sandbox:testmodule into /home/grotzke/proj/buildr-sandbox/testmodule/target/classes Compiling buildr-sandbox:testmodule:test into /home/grotzke/proj/buildr-sandbox/testmodule/target/test/classes Running tests in buildr-sandbox:testmodule Running TestNG in buildr-sandbox:testmodule [Parser] Running: buildr-sandbox-testmodule FAILED CONFIGURATION: @BeforeMethod beforeBaseTestMethod java.lang.RuntimeException: s.th. failed here... at de.javakaffee.buildr.sandbox.testmodule.BaseTest.beforeBaseTestMethod(BaseTest.scala:10) ... Removed 24 stack frames SKIPPED CONFIGURATION: @BeforeMethod beforeBaseTestMethod SKIPPED CONFIGURATION: @BeforeMethod beforeBaseTestMethod SKIPPED: testBase SKIPPED: testClass1 SKIPPED: testBase =============================================== Command line test Tests run: 3, Failures: 0, Skips: 3 Configuration Failures: 1, Skips: 2 =============================================== =============================================== buildr-sandbox-testmodule Total tests run: 3, Failures: 0, Skips: 3 Configuration Failures: 1, Skips: 2 =============================================== Completed in 4.305s The project can be found here: http://github.com/magro/buildr-sandbox/tree/master -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.