Xcode and SenTestingKit do not display in the editor window

I am new to testing in Xcode. I follow the developer documentation for "iOS Application Development Applications".

I have successfully added unit test packages to my application with one failed test.

When I create a test target, the output shows 1 error, as expected, but the editor does not display the expected error message on a failed test.

Does anyone know of any configurations that need to be configured to enable this feature?

Apples say: "If the unit-test package is configured correctly, the assembly fails, and Xcode displays the error message in a text editor."

TIA

Life Key: - One thing I noticed in my output window is the message "Command / bin / sh failed with exit code 1"

+3
source share
1 answer

Try following this guide. Beware when to install the target program, and when to install the Unit test target. This works great for me though. If Unit test does not work, messages should appear on the console.

0
source

Source: https://habr.com/ru/post/1755813/


All Articles