New AppCode 2019.2 EAP: code coverage for unit tests

Hi,

A new AppCode 2019.2 EAP build is here!

Code coverage for unit tests

Now you can run unit tests with coverage in AppCode. There is no need to change any settings in your scheme – just select the test target and press the Run with Coverage button:

Code coverage

You can see the coverage results on the left gutter in the editor:

Code coverage in editor

Click the coverage color indicator to see the hit count or hide the coverage:

Show hit count

View coverage statistics in the Project view or in a separate tool window:

Tool windows

Known problems:

  • Code coverage is not yet implemented for UI tests (OC-18808)
  • Results may be different from Xcode’s in some cases (OC-18811)

If you find any problems or have a feature request – please share them with us in the comments!

Run, Debug, Test and Build during indexing

Now you can build, run, debug, and test your project even if the indexing and caching has not finished:

Build, run, debug and test during indexing

That’s it for now! See the full list of fixes in our tracker.

Your AppCode Team
JetBrains
The Drive to Develop

This entry was posted in Announcement and tagged , , , , , , . Bookmark the permalink.

One Response to New AppCode 2019.2 EAP: code coverage for unit tests

Leave a Reply to Juan Cancel reply

Your email address will not be published. Required fields are marked *