开发者

Xcode - logictest vs applicationtest

I am building my first iPhone app, and I开发者_如何转开发 want to get started with unit testing. Been reading up on it and there are two sides to it. logictests and applicationtest. logictest seems to me like regular unit testing. applicationtesting sounds to me like gui-interaction testing. Is that correct? Should i do both or is logictest sufficient? I am considering just testing CRUD operations of objects in my logictest


I find Apple's distinction artificial and limiting. By using a different test framework (GTM in my case, or you might try GHUnit) you can just write tests without asking yourself, "Where does this test belong?" I write tests against view controllers that are not interaction tests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜