[Yanel-dev] Patch for junit testing an entire resource type
Michael Wechner
michael.wechner at wyona.com
Wed Oct 27 09:38:37 CEST 2010
Hi Paul
It works now ;-) I have slightly modified it by renaming build.dir to =
yanel.build.dir, which
should make it even clearer:
Sending src/build/resource-types/resource-type.build.xml
Transmitting file data .
Committed revision 54144.
Thanks again for your contribution :-)
Cheers
Michael
On 10/27/10 12:15 AM, Michael Wechner wrote:
> 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/269f8c5d/attachment.htm
More information about the Yanel-development
mailing list