Yeah, don't know how to do it in Ant. There are decorator implementations of TestSuite that can parallelize, thought it means maintaining the suites sort of manually in code. Indeed it is one line in Ant.
In the end you have to run all tests before a release. There is a useful distinction between stuff that tests whether a unit is correct and stuff that tests whether units work together, or under load, or with external entities. One should test units all the time and maybe integration tests less so. And happily it is usually quick to run unit tests. So, common to run at every checkin and practical too. I suppose the question is do we really have integration tests, or just some fat unit tests? My LoadTest falls I think in my mental category of integration test I think. I can picture Hadoop blackbox tests being the same (theory being perhaps there are also unit tests for the mapper in isolation - we don't have these though) Or we take a moment to figure out parallelization and speed up a few key tests. The time doesn't bother me much yet. Takes maybe 5 mins? When that is 30, I will complain! Sean On Sep 18, 2009 3:29 PM, "Grant Ingersoll" <[email protected]> wrote: Is it possible to setup the tests to run in parallel? I know Ant has this option. This could speed things up. As for integration vs units. Are you suggesting then, that most of the time you'd only run the unit tests? In the end, the only way you have assurance that things are still working is that all the tests pass. In other words, I don't quite understand the benefit of moving things around. FWIW, I usually just run the individual test in my IDE and then before committing run all the tests. On Sep 18, 2009, at 4:04 AM, Isabel Drost wrote: > On Fri, 18 Sep 2009 11:36:40 +0100 > Sean Owen...
