On Mon, 4 Aug 2008 17:02:56 +0200, Jacopo Cappellato <[EMAIL PROTECTED]> wrote: > > On Aug 4, 2008, at 4:49 PM, Adam Heath wrote: >> Running tests at the top-level, for the entire container, can be >> painful when one is working on an isolated level. It needs to be >> simple to run a tests in smaller chunks. >> > > I know there is a way to run the tests on a single component, I don't > remember the syntax, but it should be rather easy to find somewhere > (Confluence or ML).
There is documentation in the Technical Production Setup Guide (http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide) in the "Running OFBiz Automated Tests" section. I'm not sure if that's the best place for it, and in fact we should probably move it to the Demo and Test Setup Guide (http://docs.ofbiz.org/display/OFBADMIN/Demo+and+Test+Setup+Guide). Anyway, it has info about running tests per component, and I think there are even some ways to run more granular tests but I don't remember them off the top of my head. Fortunately for us we all "read Java" and can look at the test run container implementation to see the options, and add more if we're not satisfied. Being upset about inadequate automated tests (though actually we have hundreds of them) is a good thing, as long as that translates into action... ;) -David