Re: JUnit test method generation

2009-12-13 Thread Ramsey Lee Gurley
Thank you for pointing that one out Katya. I did not know about it. It looks really helpful for cases where I would want to include my tests in the same project. It doesn't look like it will handle something like ERXTest very well though, since all the tests are in a separate project. I've

JUnit test method generation

2009-12-12 Thread Ramsey Lee Gurley
Hi all, I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists. Let's say I have a class Foo with method bar(). When I generate the JUnit test FooTest in eclipse, I can select the methods and generate the source stub for testBar()

Re: JUnit test method generation

2009-12-12 Thread Ray Kiddy
On Dec 12, 2009, at 8:14 AM, Ramsey Lee Gurley wrote: Hi all, I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists. Let's say I have a class Foo with method bar(). When I generate the JUnit test FooTest in eclipse, I can

Re: JUnit test method generation

2009-12-12 Thread Ramsey Lee Gurley
On Dec 12, 2009, at 7:02 PM, Ray Kiddy wrote: On Dec 12, 2009, at 8:14 AM, Ramsey Lee Gurley wrote: Hi all, I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists. Let's say I have a class Foo with method bar(). When I

Re: JUnit test method generation

2009-12-12 Thread Katya Yurukova
Hi Ramsey, You should try the moreUnit plug-in for Eclipse. It is capable of adding single method stubs for already existing test classes. It needs a bit of adjustment so it can find your test classes, but if you have some naming convention for your test classes you should be OK. Here's