AppCode 2019.3 Help

Configure code coverage measurement

Configure code coverage behavior

  1. In the Preferences dialog ⌘,, select Build, Execution, Deployment | Coverage.

  2. Define how the collected coverage data will be processed:

    • Show options before applying coverage to the editor: show the Code Coverage dialog every time you run a new run configuration with code coverage.

    • Do not apply collected coverage: discard the new code coverage results.

    • Replace active suites with the new one: discard the active suites and use the new one every time you launch a new run configuration with code coverage.

    • Add to the active suites: add new code coverage suites to the active suites every time you launch a new run configuration with code coverage.

  3. Select the Activate Coverage View checkbox to open the Coverage tool window automatically.

Change colors of the coverage highlighting

  1. In the Preferences dialog ⌘,, navigate to Editor | Color Scheme | General.

    Alternatively, click the Edit Coverage Colors button in the popup that opens on clicking the coverage indication line in the gutter.
  2. In the list of components, expand the Line Coverage node and select a type of coverage: for example, Full, Partial or Uncovered.

  3. Click the Foreground field to open the Select Color dialog.

  4. Select a color and click Apply.

Configure code coverage colors
Last modified: 6 February 2020