Re: tests are slow

2010-01-26 Thread Scott Gray
framework, but I'm still finding the startup time to be a pain. What would need to be done to run the tests against an already running instance? Many thanks, Chris -- View this message in context: http://n4.nabble.com/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User

Re: tests are slow

2010-01-25 Thread Chris Snow
.nabble.com/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: tests are slow

2010-01-23 Thread chris snow
still finding the startup time to be a pain. What would need to be done to run the tests against an already running instance? Many thanks, Chris -- View this message in context: http://n4.nabble.com/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User mailing list archive

Re: tests are slow

2010-01-23 Thread Scott Gray
/tests-are-slow-tp1014608p1288334.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature

Re: tests are slow

2010-01-23 Thread Chris Snow
Thanks Scott - I will take a look on Monday when back in the office. Scott Gray wrote: You could try manually initializing and starting the TestRunContainer, but obviously changes to java files will only take effect after you recompile. Let me know how it goes, there is potential that we

tests are slow

2010-01-15 Thread snowch
Hi Forum, I'm running tests using: ant run-single-test-suite ... The environment to run the tests take ages to startup. It makes writing and running tests painful! Is there anyway to reduce this time? Many thanks, Chris

Re: tests are slow

2010-01-15 Thread snowch
Does anyone have a view on this? Maybe I just need a faster laptop? snowch wrote: Hi Forum, I'm running tests using: ant run-single-test-suite ... The environment to run the tests take ages to startup. It makes writing and running tests painful! Is there anyway to reduce this time?

Re: tests are slow

2010-01-15 Thread Scott Gray
Running a single test suite typically takes me about a minute or two, so unless that's what you mean by ages then yes, you need a faster laptop :-) Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/01/2010, at 9:08 AM, snowch wrote: Does anyone have a view on this? Maybe I

Re: tests are slow

2010-01-15 Thread snowch
Scott, Does you cycle follow something like this?: Start Obiz Do some development Stop Ofbiz Run Tests Anyway, a couple of minutes seems like a long time for a test suite. If the tests could be run against an already running ofbiz, this time could be much reduced? Many thanks, Chris

Re: tests are slow

2010-01-15 Thread Scott Gray
I don't generally start OFBiz to do some development unless I'm playing around with the UI, the usual process is: Write some code Run some tests Start OFBiz and manually test if needed Commit As a percentage of my day tests would take at most maybe 5% which I don't really consider excessive

Re: tests are slow

2010-01-15 Thread snowch
Ah, my in-experience is showing - I normally have ofbiz running during development to check data, etc. Perhaps I should have two instances, one for playing with through the UI, the other for testing. Many thanks for the feedback! Scott Gray wrote: I don't generally start OFBiz to do some