• 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
Using SenTestingKit for testing a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using SenTestingKit for testing a framework


  • Subject: Using SenTestingKit for testing a framework
  • From: Bertrand Mansion <email@hidden>
  • Date: Wed, 17 May 2006 09:03:38 +0200

Hi,

I am developing a small Objective-C framework to access a database, it's built
as a wrapper around a native C library. I would like to use the SenTestingKit
Framework bundled with Xcode to perform unit tests during development.

I have read Apple's tutorial on the subject
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/UnitTesting/
Articles/CreatingTests.html> but it only talks about testing an app, not a
framework. I have followed the first steps (create a test bundle) but after that
they only talk about executables, not frameworks.

Then I wrote a few unit tests and built the test target, but it seems my
framework is not found upon building since I get "undefined symbols" errors when
I try to access my framework methods. My framework alone builds fine though.

Do I have to set up some parameters in Xcode test target settings so that the
test bundle know where to find the framework and how to load it ? I am not very
much at ease with Xcode settings so I would really appreciate some help or
eventually a pointer to a tutorial.

Thanks in advance,

--
Bertrand Mansion
http://www.mamasam.com      - creative internet solutions
http://golgote.freeflux.net - blog
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using SenTestingKit for testing a framework
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: coredata framework daemon-safe?
  • Next by Date: Authentication & suid tool
  • Previous by thread: Re: coredata framework daemon-safe?
  • Next by thread: Re: Using SenTestingKit for testing a framework
  • Index(es):
    • Date
    • Thread