From: Nigel W. <ja...@mi...> - 2005-03-15 23:28:08
|
Separating the plug-ins sounds good to me. Nigel -----Original Message----- From: jmo...@li... [mailto:jmo...@li...] On Behalf Of Alex Zuroff Sent: Tuesday, March 15, 2005 1:32 PM To: jmo...@li... Subject: Re: [jmoney-devel] Testing infrastructure I don't have a strong opinion either way - separating the test plug-ins into a separate directory would make it easier to exclude them from future file releases. Anybody have strong objections to separating the plugins this way? Alex Johann Gyger wrote: > Your plan sounds good. Maybe we could put the test plugins in another > directory instead of `plugins'. I would suggest `test-plugins', located > at the same level as `plugins'. > > > On 15.03.2005, at 00:00, Alex Zuroff wrote: > >> Here's how I think I'm going to do it starting out - >> >> 1. Each plug-in will have a separate, corresponding test-only plug-in >> that contains the tests associated with that plug-in. The name will >> be the plug-in name with ".test" appended to the end. Each plug-in >> should only have dependencies on the plug-in being tested and probably >> net.sf.jmoney (since that contains all the "core" classes). >> >> 2. The package structure of the test plug-in will mirror that of the >> plug-in under test. This makes it much easier for test cases to >> access protected and package-private members of the class being tested. >> >> 3. Within each package will be a test suite called >> AllPackageTests.java. This suite will contain all the tests for that >> particular package. >> >> 4. With each test plug-in will be a test suite called >> AllPluginTests.java. This suite will contain all the tests for the >> entire plug-in. >> >> 5. In the net.sf.jmoney.test plug-in will be a file called >> AllProjectTests.java that runs all the tests for the entire project. >> >> 6. If there are tests that require classes from more than one plug-in, >> I'll probably put those in the net.sf.jmoney.test plug-in, since that >> will depend on all the other plug-ins anyway. >> >> I just reinstalled Windows on my laptop last night, so I'm still >> getting everything reinstalled, but you should start seeing some >> activity in the next couple of days. >> >> Alex > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > jmoney-devel mailing list > jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmoney-devel > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jmoney-devel mailing list jmo...@li... https://lists.sourceforge.net/lists/listinfo/jmoney-devel |