lundi 22 juin 2015

Xcode 6.3 XCTests are not running

I'm trying to run my (basic) unit tests (xctest) in my project. When I select Test instead of Run in Xcode, my app launches but no tests are running. I receive logs in console as when I run my app normally. Here is my scheme configuration :

enter image description here

enter image description here

I have set up different schemes that use different Info.plist files (dev, prod...). Maybe the problem comes from here but the test bundle uses the default Info.plist provided when project was created. I have tried to delete Derived Data and restart Xcode but it did not work.

Here is the Xcode state while testing, nothing happens with my tests :

enter image description here

Aucun commentaire:

Enregistrer un commentaire