I use xcode 5 test navigator to run my test, but one painful thing is that I need sometime to test whole layers of my app (say the models). I would like a way to group tests into logical units. I could probably use Test targets for that purpose but I don't think that's an efficient way.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Dependencies while implementing Mocking in Junit4
相关文章
- 现在使用swift开发ios应用好还是swift?
- How to replace file-access references for a module
- How to mock methods return object with deleted cop
- What is a good way of cleaning up after a unit tes
-
EF6 DbSet
returns null in Moq - UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Web Test recorder does not allow me to record a te
Creating a test case class for each of your logical units will group them in the test navigator. Choose File > New > File to add a new test case class to your project.
If you move the cursor over a test case class in the test navigator, a small Run button will appear next to the class. Click the button to run only the tests for that class.