V3 Documentation
Search

Tests To Execute On This Machine

Global-level NCrunch configuration setting Default Value: (none)

Purpose

This configuration setting specifies a filter that must pass in order for a test to run on a computer.

Tests that do not pass this filter for any computer used by NCrunch will be left in the processing queue and not executed.

This setting is normally only useful when using NCrunch's distributed processing features.

Recommendations

You can use the test filter to create custom test categories that can only be run on specific nodes in the grid.

It is also possible to use this filter to create complex conditions to better optimise how tests are run. For example, you may wish to allocate slower running tests to grid nodes that have longer response times but higher capacity, allowing the faster tests to be executed on nodes with a shorter response time.

Note that it is also possible to control which servers can execute certain tests through the use of capabilities.