Unit tests always show 'succeed' desktop notification when run on device in XCode 6 beta 6 in Swift.
How to recreate:
- Create new iOS single-view app project with Swift.
- Go to the existing test and change it to
XCTAssert(false)
to make it fail. - Run the tests on the device - it shows "Test Succeeded" desktop notification.
- Run the test on the emulator - it shows "Test Failed" notification as it should.
Update
- There are test error messages in the output window when testing on device. But the desktop notification says "Test Succeeded".
- When I test on device and set a breakpoint in the test method - it does stop there.