Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Test step executes all Test Sets or specific Tests defined for the given project in the snapshot (or the release for Utility projects) according to the project's defined strategy.  The The specified project must be in the release.

...

...

Field

Description

Step

Name

The name of the step.

Description

An optional description for the step.

Project

Name

The name of the project in the snapshot (or release for Utility projects) to execute tests for (according to its strategy).  This project must be in the snapshot/release, or the step will fail.

Package

Test Type

Identifies which types of tests

@Since 7.0.0.2 - The name of a package in the selected project to execute tests for (according to its strategy). This package must be in the snapshot/release, or the step will fail.

Test Name

Identifies which test to execute.  If not specified, all

test types will be executed.  Optionally

tests will be executed. Use comma-separated test names, or supply a regular expression to match one or more test names.

Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g. a property defined on the pipeline, and specified on the release).

@Since 7.0.0.1 - Suggestions will be given once a project is selected based off that project’s test configuration YAML. If both test name and test tag are specified we will consider an intersection between them.

Tags

@Since 7.0.0.1 - Filters for tests to execute with at least one matching tag. If not specified, all tests will be executed. Use comma-separated tags, or supply a regular expression to match one or more tests' tags. Suggestions will be given once a project is selected based off that project’s test configuration YAML.

Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g. a property defined on the pipeline, and specified on the release).

Precondition

An optional Groovy script which determines whether the gate or step is applicable during execution. The script has access to variables and methods listed in Pipeline Groovy Variables and Methods. You can find these variables and methods

using Variable Lookup help

while using the Groovy Editor.

The script must return true if the

gate

step is applicable, or false otherwise.  If no script is provided, the default is to return true (applicable).

On Error

Continue

If checked, any failure will be ignored, and the pipeline execution will continue.

Notify Pipeline Role

Selects one or more roles from the pipeline definition to notify in case of error.  Default role members are defined on the pipeline, and

optional

optionally overridden for each release. Optionally, use a Groovy expression to make this field dynamic based on some contextual value (e.g.

...

a property defined on the pipeline, and specified on the release).

When using a role script you can dynamically return a key/value pair. For example return [type: 'groupName', value: 'FD Administrators']. Supported types are roleId, roleName, groupId, and groupName. You can return Map with single key/value pair or list of such single key/value maps.

Info

Tests are defined to execute based on the testing strategy established test automation configured on the project.  Only those projects which are part of the release will have their test sets tests executed.

Script Variables

Include Page
FD70:Pipeline Groovy Variables and MethodsFD70:
Pipeline Groovy Variables and Methods

...