Domanda

I am working on an App which uses UITableView and Animations extensively. It is becoming really difficult to write effect unit tests.

The view-controller concept in iOS is making the isolation of logic tough. This calls for lot of mocking/stubbing and I feel the Bacon framework(stripped down version of RSpec) for testing is not well advanced for this.

Basically, I could not find any iOS apps which are test driven for reference.

I am really wondering how to separate view and controller logic and effectively test drive it.

Any suggestions?

È stato utile?

Soluzione

Have a look to this article and this one. Maybe you can get some ideas from them.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top