harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [classlib] test suites
Date Sat, 21 Jan 2006 20:16:15 GMT
In Eclipse you can click on a project / package / source folder and say
"Run As > JUnit Test" -- it will run all the test cases found in there.

However, AFAIK this is not true for other runners, like the
textui.TestRunner.  Also, as discussed (ad nauseam), if you want to
extend the framework you will need to gather the tests up and run them
in a decorated junit.framework.TestSuite.


Richard Liang wrote:
> Hello Geir,
> Ant script is good for build system. However, it's more
> simple/convenient for developers to run AllTests in Eclipse.
> Richard Liang
> China Software Development Lab, IBM
> Geir Magnusson Jr wrote:
>> I'm looking at doing a quick integration of test scripts so we can
>> test from the top...
>> I notice that there are "AllTests" classes in luni, for example, that
>> use the TestSuite approach.
>> Why use this mechanism if the intention is all tests anyway?  Just
>> curious.  I can see using it for things like performance (maybe) or
>> grouping important and interesting subsets, but I'm used to
>> configuring ant to do an   **/*Test.java and then it's just "drop in
>> and go".
>> geir


Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

View raw message