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

Building for deployment

2009-12-13 Thread Mark Wardle
Hi all, I'm pulling my hair out trying to get a WOA that contains all embedded frameworks - including WO54, project wonder and my own. Naturally, during development, everything just works from within Eclipse. In particular, I have Project Wonder building from within Eclipse also. I assumed it

Re: Building for deployment

2009-12-13 Thread Paul Hoadley
On 14/12/2009, at 8:30 AM, Mark Wardle wrote: I'm pulling my hair out trying to get a WOA that contains all embedded frameworks - including WO54, project wonder and my own. This should be almost a push-button exercise with the latest tools. I do this all the time. Naturally, during

Adding WONDER sources to the project...

2009-12-13 Thread Michael Andronov
Hi, I've installed WONDER recently from the sources, build id, and made my project working. ( Thanks again for all support I got). Though my application is working now, I can not see the WONDER function source code, when I'm trying to trace them. Is there any document, describing how to set it

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs

2009-12-13 Thread Paul Hoadley
For the archives: On 13/12/2009, at 1:11 AM, Q wrote: 2. Ensure all tests classes that use EOF inherit from ERXTestCase I'm somewhat of a JUnit novice: wouldn't that result in mixing the JUnit3 and JUnit4 APIs? ERXTestCase extends junit.framework.TestCase which has the old prescribed

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs

2009-12-13 Thread M.Y. Tjoe
Hi all, Anybody has any update on this issues? I am the next lucky winner for this one. I've updated to the latest Wonder library (2009-08-20) and using the latest Juint (4.8.1) but still have this problem. Tried ERXTestCase but that doesn't work for me. My test would not run at all

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs

2009-12-13 Thread Paul Hoadley
On 14/12/2009, at 4:35 PM, M.Y. Tjoe wrote: Anybody has any update on this issues? I am the next lucky winner for this one. I've updated to the latest Wonder library (2009-08-20) and using the latest Juint (4.8.1) but still have this problem. Tried ERXTestCase but that doesn't work for me.

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs

2009-12-13 Thread M.Y. Tjoe
Hi Paul, I've following code in setup which should do the tricks but it was never called: public void setUp() throws Exception { if(EOModelGroup.defaultGroup().modelNamed(MyModelForTest)==null) {

Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs

2009-12-13 Thread M.Y. Tjoe
I've figured out that it was me didn't include JavaMemoryAdaptor Framework. I only notice this until I copy the stacktrace from Junit perspective and found out following line: Caused by: java.lang.IllegalStateException: Unable to get the name of the class to instantiate for the adaptor