Specifies a statement Context definition. See Using Coverage Contexts for more information.

This element does not support Groovy.

Attribute Description Required

The name for this context. Must be unique, and not be one of the reserved context names (see Using Coverage Contexts).

regexp A Perl 5 Regexp that defines the context. This regexp should match statements you wish to include in this context. Note that when statements are tested against this regexp, whitespace is normalized and comments are ignored. Yes.