Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 53329 invoked from network); 14 Jan 2010 18:38:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 18:38:44 -0000 Received: (qmail 15531 invoked by uid 500); 14 Jan 2010 18:38:44 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 15496 invoked by uid 500); 14 Jan 2010 18:38:44 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 15486 invoked by uid 99); 14 Jan 2010 18:38:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 18:38:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alex.boisvert@gmail.com designates 209.85.219.209 as permitted sender) Received: from [209.85.219.209] (HELO mail-ew0-f209.google.com) (209.85.219.209) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 18:38:36 +0000 Received: by ewy1 with SMTP id 1so28239ewy.28 for ; Thu, 14 Jan 2010 10:38:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8iML4YRgxSPp6mcoHbRyr1YTm2EOK7ZtgHOEanwNGoQ=; b=TjLuCrZrmJqwyg+Oz2rUhOP1CprPXjBgeN2n4D9tgpJZlV6nUE887vioHzEzHSAQD9 FE5aNkDpCAiG7NJSogUw+ya7cw/HWhtYjbbEsMjL8tmgTdxSoB86Gc57qsgbmKp2GFvl pU51J2b55MGCUbPQKVkrjcEH76Ogb8V+zCz8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Jl/upVLTqJx2l9WvW6kNft4zF8mW6Sylz6nSOOqts57rVIOMfCJ4twwVdwyl2JIm5e VV5YE563sYIuA5x/RnyL7njfrmwsSnGJ5P14x/zt9Hr2NiyC5W3AsvMkKI/sgBAqr0du Y5mW3p8Sg+iOURLRUug3IQC2IpyG/jVuQ3d7I= MIME-Version: 1.0 Received: by 10.216.86.132 with SMTP id w4mr401896wee.87.1263494291592; Thu, 14 Jan 2010 10:38:11 -0800 (PST) In-Reply-To: <160759127.793.1263493377038.nuevasync.admin@server2-scl.nuevasync.com> References: <4dcd15a91001140956q58700b2dn6f9ba9e887697a96@mail.gmail.com> <160759127.793.1263493377038.nuevasync.admin@server2-scl.nuevasync.com> Date: Thu, 14 Jan 2010 10:38:11 -0800 Message-ID: <4dcd15a91001141038n27fc8fc0p4a7a89798e25fd9c@mail.gmail.com> Subject: Re: Running tests that failed during last run From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=0016e6d77ed36d199c047d243079 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d77ed36d199c047d243079 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Jan 14, 2010 at 10:22 AM, Daniel Spiewak wrote: > I don't think that JUnit has anything like this. If I were you, I would > look to rspec for inspiration. When we finish running tests for a project, > grab the list of test names which failed and save it to a file (maybe > target/failed-tests?). Then have your run-failed-tests task (maybe > test:failed?) read that file and only run those tests, rather than usin the > test provider to determine the set of all tests in that project. Even > better, you could still grab the list of all tests and then intersect it > with the set of failed tests. That way, you avoid running a > previously-failed test which no longer exists. > Yep, I'd take the same approach too. This way, the re-run task can be generic across test frameworks. alex --0016e6d77ed36d199c047d243079--