buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: prioritizing tests
Date Wed, 18 Nov 2009 15:08:15 GMT
On Wed, Nov 18, 2009 at 6:19 AM, Shane Witbeck <>wrote:

> Hi all,
> I have a fairly large project with several subprojects. I'd like to be
> able to prioritize tests for a select few of the subprojects so that
> they run first.
> Are there any clever ways of doing this?

I would probably write an extension that allows priorities to be set on
projects, e.g. :low to :high, 1 to 10

project('master') do
  project('foo') do
    test_priority :high

  project('bar') do
    test_priority :low

and then either hijack the default test task and inject artificial
dependencies (for priority purposes) or create a different local +
per-project task that invokes subprojects tests in order of priority.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message