Re: CPlusTest deprecation
Re: CPlusTest deprecation
- Subject: Re: CPlusTest deprecation
- From: Dmitry Markman <email@hidden>
- Date: Mon, 07 Nov 2011 21:41:59 -0500
Hi Andreas
thanks for the answer
dm
On Nov 7, 2011, at 5:32 AM, Andreas Grosam wrote:
>
> On Nov 7, 2011, at 12:00 AM, Dmitry Markman wrote:
>
>> Hi,
>> is CPlusTest deprecated?
>>
>> I didn't find any decent documentation for that framework (not deprecated)
> Xcode uses OCUnit/SenTest now, which is tightly integrated into Xcode. You'll find more information in Xcode's documentation "Unit Testing Applications".
>
>
>>
>> I managed to test C++ code with the "CocoaUnit testing bundle" target
>>
>> is it only way?
>
> If you prefer to use a *tight* integration of your tests into Xcode, it seems there is no other way than to use OCUnit/SenTest.
>
> Of course, you can use any other testing framework, if you don't insist on that tight integration.
> I'm currently using gtest, and I'm happy with it since it makes it easy to test C++ template code. Running such unit test from Xcode may require you to add a few additional steps in your project, e.g. invoking Pre/Post-actions, but usually it is simple in Xcode 4. For instance, I just hit "Build" for my test target which builds all tests and then starts to run all tests and uses Terminal.app to print the test's output nicely colorized and human readable to a console window.
>
> However, there may be various reasons why you prefer one over the other of the many available frameworks:
> <http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks>
> e.g. <https://github.com/philsquared/Catch/wiki> looks very interesting, too.
>
>
>
> Andreas
>
>
>
>>
>> thanks in advance
>>
>>
>> Dmitry Markman
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden