V3 Documentation
Search

Terminate Test Runner Tasks When All Test Execution Is Complete

Global-level NCrunch configuration setting Default Value: False (can be adjusted by the configuration wizard)

Purpose

This configuration setting controls whether or not NCrunch should automatically terminate background test runner task processes when all tests have been executed.

A value of True will make it impossible to run tests using existing background processes via the NCrunch UI, as all background processes will have already been terminated when their work has been completed.

Recommendations

Setting the value for this option to True will reduce NCrunch's memory footprint while NCrunch is inactive, although this will make it impossible for the engine to quickly re-execute tests using pre-loaded processes after the test pipeline has been cleared.