0

When I run my unit test scripts, it is crashing at ""waitForExpectationWithTimeout" in "ServiceTest" class.

If I run test scripts for this "ServiceTest" class alone, then it is working properly without crash. But if I run test scripts for entire project, I am getting this crash. I am clueless on why and what this crash means. Appreciate any help. Thanks.

enter image description here

Coder
  • 1,661
  • 4
  • 27
  • 50
  • See http://stackoverflow.com/questions/27590830/xctestcase-waitforexpectationswithtimeouthandler-throwing-exc-bad-access-when – Rob Napier Nov 09 '15 at 02:36
  • I am passing expectation value as "High" and not nil. "expectation = self.expectationWithDescription("High")" – Coder Nov 09 '15 at 02:39
  • In that case, there is too little code to diagnose this problem. You could have a nil or Unsafe type anywhere. – Rob Napier Nov 09 '15 at 02:41

0 Answers0