Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


buildWithCodeCoverage

Enables Code Coverage in the Player.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool buildWithCodeCoverage { get; set; }

Remarks

When this option is enabled, the Player collects code coverage data during execution. This data can be used to identify untested code paths and improve test coverage.