What’s New in Testing
What’s New in Testing
Code Coverage
- Hidden dependencies between tests in a class
- Avoid unnecessary +setUp and +tearDown computation
- Original simulator is not used during testing
- Separate data containers
- -parallel-testing-worker-count n
//worker numbers - -parallel-testing-enabled YES | NO
// Testing on / off
Tips and Tricks
- Consider splitting a long running class into two classes
- Put performace tests into their own bundle, with parallelization disabled
- Understand which tests are not safe for parallelization