cobertura, tests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

cobertura, tests

Adam Heath-2
Bother.  It seems that a bit too much cleaning has been done, and now
the command line targets 'tests' and 'tests-cobertura' no longer work.  
The later requires cobertura, which has a download target; when using
the included ant version, it attempts to fork java to run the task,
which then can't find asm-*.jar, for some reason.

The former requires an optional ant JUnitTask, which has no download target.

I'd like to promote these tasks to being run more often, but I don't
know where in the workflow I should add them.  Once I get them fixed,
perhaps we could add some top-level tasks, and add it to buildbot.

These targets(which are defined in $ofbiz.home.dir/common.xml), are used
to run extremely quick command-line api type tests, that don't require a
full framework instance to be running.  There are some defined in base,
and in sql.

ps: the included ant version is 1.9.0, but my system installed version
is 1.8.2; 1.8.2 can actually load cobertura correctly.
Reply | Threaded
Open this post in threaded view
|

Re: cobertura, tests

Adam Heath-2
Ah.  This is due to ant jars being in framework/base/lib, which then
partially conflict/overlap when using the top-level included ant.

On 06/24/2014 10:05 AM, Adam Heath wrote:

> Bother. It seems that a bit too much cleaning has been done, and now
> the command line targets 'tests' and 'tests-cobertura' no longer
> work.  The later requires cobertura, which has a download target; when
> using the included ant version, it attempts to fork java to run the
> task, which then can't find asm-*.jar, for some reason.
>
> The former requires an optional ant JUnitTask, which has no download
> target.
>
> I'd like to promote these tasks to being run more often, but I don't
> know where in the workflow I should add them.  Once I get them fixed,
> perhaps we could add some top-level tasks, and add it to buildbot.
>
> These targets(which are defined in $ofbiz.home.dir/common.xml), are
> used to run extremely quick command-line api type tests, that don't
> require a full framework instance to be running.  There are some
> defined in base, and in sql.
>
> ps: the included ant version is 1.9.0, but my system installed version
> is 1.8.2; 1.8.2 can actually load cobertura correctly.

Reply | Threaded
Open this post in threaded view
|

Re: cobertura, tests

Jacques Le Roux
Administrator
In reply to this post by Adam Heath-2

Le 24/06/2014 17:05, Adam Heath a écrit :
> Bother. It seems that a bit too much cleaning has been done, and now the command line targets 'tests' and 'tests-cobertura' no longer work.  The
> later requires cobertura, which has a download target; when using the included ant version, it attempts to fork java to run the task, which then
> can't find asm-*.jar, for some reason.
>
> The former requires an optional ant JUnitTask, which has no download target.
>
> I'd like to promote these tasks to being run more often, but I don't know where in the workflow I should add them.  Once I get them fixed, perhaps
> we could add some top-level tasks, and add it to buildbot.

https://issues.apache.org/jira/browse/INFRA-3590

> These targets(which are defined in $ofbiz.home.dir/common.xml), are used to run extremely quick command-line api type tests, that don't require a
> full framework instance to be running.  There are some defined in base, and in sql.
>
> ps: the included ant version is 1.9.0, but my system installed version is 1.8.2; 1.8.2 can actually load cobertura correctly.
>

--
Reply | Threaded
Open this post in threaded view
|

Re: cobertura, tests

Adam Heath-2
Thanks.

On 06/24/2014 03:19 PM, Jacques Le Roux wrote:

>
> Le 24/06/2014 17:05, Adam Heath a écrit :
>> Bother. It seems that a bit too much cleaning has been done, and now
>> the command line targets 'tests' and 'tests-cobertura' no longer
>> work.  The later requires cobertura, which has a download target;
>> when using the included ant version, it attempts to fork java to run
>> the task, which then can't find asm-*.jar, for some reason.
>>
>> The former requires an optional ant JUnitTask, which has no download
>> target.
>>
>> I'd like to promote these tasks to being run more often, but I don't
>> know where in the workflow I should add them.  Once I get them fixed,
>> perhaps we could add some top-level tasks, and add it to buildbot.
>
> https://issues.apache.org/jira/browse/INFRA-3590
>
>> These targets(which are defined in $ofbiz.home.dir/common.xml), are
>> used to run extremely quick command-line api type tests, that don't
>> require a full framework instance to be running.  There are some
>> defined in base, and in sql.
>>
>> ps: the included ant version is 1.9.0, but my system installed
>> version is 1.8.2; 1.8.2 can actually load cobertura correctly.
>>
>