I'd like to provide the following feature to Spock & Gradle users: Reorder the classes in a test run such that classes that are more likely to fail run sooner. (Test methods will also be reordered, but his happens beneath Gradle's radar.)
I've already implemented the reordering part on the Spock side, and now I'm looking for the right Gradle task/API hook. It seems that test class run order is determined by DefaultTestClassScanner, DefaultConfigurableFileTree, and ultimately DefaultDirectoryWalker. However, I haven't found a hook to replace either of those. Any hints? Cheers, Peter -- View this message in context: http://old.nabble.com/Running-test-classes-in-a-custom-order-tp28792765p28792765.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
