statementContext

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

<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
Powered by Confluence and Scroll Viewport.