Undistraction
Undistraction

Reputation: 43401

Better Control over test suites in SenTesting Kit/OCUnit

It seems that adding a class to my Xcode 4 Testing project that begins with test... automatically adds it to the testing run, but is there a way for me to have the test suites I want to run defined in a class so I can easily toggle them on and off? I would like to be able to manually register a suite then comment it out if it is not required. I don't want to have to add and remove classes from the Testing target.

Upvotes: 1

Views: 329

Answers (1)

zaph
zaph

Reputation: 112865

In Xcode4 Edit Scheme, select "Test", click the disclosure triangle and click "Test". You will be able to select classes or individual tests.

enter image description here

Upvotes: 1

Related Questions