• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unit testing C code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unit testing C code


  • Subject: Re: Unit testing C code
  • From: Conrad Taylor <email@hidden>
  • Date: Fri, 14 Oct 2011 02:29:51 -0700

On Thu, Oct 13, 2011 at 12:22 PM, Thomas Davie <email@hidden> wrote:
Hi Everyone,

I'm starting work on a new library that uses C only, I'd like to have unit tests that integrate nicely with Xcode.  Obviously I can use the standard SenTestingKit stuff, but that seems to bring in an unnecessary dependency on objective-c if I wanted to carry on development on another platform.

What tools are available for testing using only C code?

Thanks

Tom Davie
if (*ra4 != 0xffc78948) { return false; }


Tom, you can give the following a try:

http://cunit.sourceforge.net/

Also, you can find a bigger list for C here:

http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C

Good luck,

-Conrad
 

 _______________________________________________
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


 _______________________________________________
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

References: 
 >Unit testing C code (From: Thomas Davie <email@hidden>)

  • Prev by Date: Any way to change the color of changed values in Xc4 debugger?
  • Next by Date: Re: Xcode 4.2 app store update, no iOS5 documentation.
  • Previous by thread: Unit testing C code
  • Next by thread: Strange Crash on a 10.5 32bits Intel Mac
  • Index(es):
    • Date
    • Thread