Re: [classlib] test suites

2006-01-22 Thread Tim Ellison
Geir Magnusson Jr wrote: Tim Ellison wrote: 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. I tried that and it didn't - it gave me a dialog and let me choose from the tests in there. I couldn't

Re: [classlib] test suites

2006-01-22 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Tim Ellison wrote: 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. I tried that and it didn't - it gave me a dialog and let me choose from the tests in

Re: [classlib] test suites

2006-01-22 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Nope. Eclipse is inconstant. If you work in Package Explorer, you're right - you get that behavior. If you work in Navigator, you get the behavior I described. Interesting. Well its a Java-thing, so you can see why it is on a java view and not

Re: [classlib] test suites

2006-01-22 Thread Tim Ellison
Geir Magnusson Jr wrote: Tim Ellison wrote: Well its a Java-thing, so you can see why it is on a java view and not on the (generic) navigator view. Hm. I follow the same UI path to get there, both in java view and generic nav view : right click on (package|folder), then Run As, then

[classlib] test suites

2006-01-21 Thread Geir Magnusson Jr
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

Re: [classlib] test suites

2006-01-21 Thread Richard Liang
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

Re: [classlib] test suites

2006-01-21 Thread Geir Magnusson Jr
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. I didn't believe you, because selecting a folder (or selecting multiple tests) and having all tests run is such an obvious feature, it

Re: [classlib] test suites

2006-01-21 Thread Geir Magnusson Jr
IDEA does what I hoped Eclipse would do. I can run a Test (class), a single test method, or just tell it to run the whole folder. It walks package trees as well. geir Geir Magnusson Jr wrote: Richard Liang wrote: Hello Geir, Ant script is good for build system. However, it's more

Re: [classlib] test suites

2006-01-21 Thread Tim Ellison
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