Nirav
Nirav

Reputation: 315

iOS FrameWork UnitTesting

I have created a iOS framework and want to use that framework in one of my application.

My question is about the UnitTesting of the framework. I have read about the inbuilt xcode unittest framework, but not sure how to get started on testing the framework.

Or do I have to import the framework in one of my apps and then perform the testing of the framework via

Regards,

Nirav

Upvotes: 1

Views: 187

Answers (1)

Alex Terente
Alex Terente

Reputation: 12036

Add a new target to your project, select Others -> Cocoa Touch Unit Testing Bundle, give it a name.

Add to the new target the Compile Sources and the Link Binary. And in your test class write the tests you need.

Upvotes: 1

Related Questions