Using SenTestingKit for testing a framework
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