Re: otest output in xUnit XML format?
Re: otest output in xUnit XML format?
- Subject: Re: otest output in xUnit XML format?
- From: Tommy McLeod <email@hidden>
- Date: Tue, 25 Aug 2009 11:28:44 +1200
Have a look at this http://osx-ci.blogspot.com ...
I've got cobertura style coverage using scan-build, gcovr, gcov and the unit
testing framework from the google toolbox for mac, however it should work
for otest so long as the unit tests are actually invoked. Turning on the
profiling will enable all of the coverage reporting when the unit tests are
run (as your code is compiled and linked with the -fprofile-arcs switch)
You may need to modify the linking section to point at the libgcov.a that is
relevant for your project (-isysroot is a bit broken, it ignores the SDK you
define and goes for the one in /usr/lib/gcc ... which is a pain when you're
compiling for the iPhone simulator)
hope that helps
2009/8/20 Barry Wark <email@hidden>
> I'm trying to integrate OCUnit unit tests more fully with our
> continuous integration system. Out of the box, Hudson supports test
> output in the xUnit XML format produced by JUnit, CppUnit, nose (a
> python test framework), etc. Is there any way to get otest to produce
> this XML formatted output? If not, can anyone point me towards a tool
> that converts otest output to xUnit XML format?
>
> Thanks!
>
> Barry
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden