【发布时间】:2011-08-22 14:45:25
【问题描述】:
我正在查看苹果的example code 进行应用程序测试,这都涉及特定视图内的更改。我想编写一个断言以下内容的测试:
Given that I am seeing the Results view,
And I press the button for the first result,
Then I should see a Detail view,
And its controller's result property should be set to the first result
我将如何编写该测试用例?
【问题讨论】:
标签: iphone ios unit-testing xcode4