statementContext

On this page

<statementContext>

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

This element does not support Groovy.

Parameters

Attribute

Description

Required

name

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

Yes.

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.

Last modified on May 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article

Not finding the help you need?

Ask the community

Powered by Confluence and Scroll Viewport.