Env

enum Env : Enum<Env> (source)

Predefined environment names.

The following descriptions are just suggestions, you can interpret them as you wish.

Since

2.0.0

Entries

Link copied to clipboard

Running tests on a local machine

Link copied to clipboard

Running tests on a push to a branch but only if neither to branch main, test, int nor to hotfix/.. or release/...

Link copied to clipboard

Running tests in a PR pipeline which shall be merged (eventually back to the main branch)

Link copied to clipboard

Running tests on a push to main/ (e.g. PR was merged to main)

Link copied to clipboard

Running tests as part of a deployment to the Test staging environment, by convention on the test branch.

Link copied to clipboard

Running tests as part of a deployment to the Int staging environment, by convention on the int branch.

Link copied to clipboard

Running tests as a nightly job on the Test staging environment.

Link copied to clipboard

Running tests as a nightly job on the Int staging environment.

Link copied to clipboard

Running tests in a PR pipeline which shall be merged to a hotfix/ branch

Link copied to clipboard

Running tests on a push to hotfix/ (e.g. once a hotfix PR is merged back to a hotfix/ branch).

Link copied to clipboard

Running tests on a release/ branch.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Env

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Env>

Returns an array containing the constants of this enum type, in the order they're declared.