enabled property

bool enabled

If true, leak tracking is enabled.

If value is true before a test main started, settings will be respected during testing. Use this property to enable leak tracking.

To turn leak tracking off/on for individual tests after enabling, use ignore.

Implementation

static bool get enabled => _enabled;