Scott,
I was able to get the unit tests working for the framework/base
component. I will get that committed in the next few days.
I want to contribute more to testing, so maybe knowing that will provide
some light at the end of the tunnel.
-Adrian
Scott Gray wrote:
That's great thanks Erwan, and by the way if you start contributing
tests, I will officially make you my new favorite contributor.
Regards
Scott
On 2/12/2009, at 11:31 PM, Erwan de FERRIERES wrote:
Hi Scott,
solution found ! It was only the test-suites names in their respective
files which was wrong... A JIRA issue is coming with the patch !
Cheers,
Le 02/12/2009 11:07, Scott Gray a écrit :
Hi Erwan,
I noticed the problem as well but never dug in to find the cause, if you
want to submit a patch I'll gladly commit it.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 2/12/2009, at 11:01 PM, Erwan de FERRIERES wrote:
Hi all,
when we are launching tests via the *ant run-tests* target, junit
tests and simple-method-test are launched.
But when looking at the results in runtime/logs/test-results, all the
tests are not listed here.
As an example, for the accounting tests , there are :
3 junit tests (testCreateFinAccount / testDeposit / testWithdraw)
10 simple method tests
But if you look to the result
(runtime/log/test-results/accoutingtests.xml), only the invoicetetsts
are listed...
It seems that when the tests run, if there more than one test-suite in
ofbiz-component.xml, each test-suite is creating a new result file
which has always the same name, and then we don't have all the results
for a component.
I'm waiting for your comments,
Cheers
--
Erwan
--
Erwan