[Yanel-dev] Patch for junit testing an entire resource type
Michael Wechner
michael.wechner at wyona.com
Wed Oct 27 00:15:05 CEST 2010
Hi Paul
Thanks very much for this patch. I am currently testing it, but have =
difficulties to actually
get several sample tests running and I am not sure what the problem is.
I will continue tomorrow after another sleep cycle ;-)
Will keep you posted.
Thanks
Michael
On 10/26/10 4:53 PM, Paul Bakker wrote:
> Hi,
>
> I altered the file resource-type.build.xml (patch appended) so that it =
> is now possible to run all junit tests in a resource type, through the =
> command:
>
> ./build.sh -f =
> PROJECT_REALM_HOME/res-types/your-resource-type/build.xml junit
>
> where currently you have to specify
>
> ./build.sh -f =
> PROJECT_REALM_HOME/res-types/your-resource-type/build.xml junit =
> -Dtest.class.name =
> <http://Dtest.class.name>=3Dyour.class.package.name.YourClassResourceTest
>
> to test only a single class.
>
> Hope this helps,
> Paul Bakker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wyona.org/pipermail/yanel-development/attachments/2010102=
7/d8999a11/attachment.htm
More information about the Yanel-development
mailing list