Alerts enable you to notify your team (or anyone else you want) when test runs pass, fail, or complete with any status. You can send messages to various places like Slack, OpsGenie, or even webhooks.

Specifying Criteria in Alerts

Testery uses the SpEL expression language syntax for defining criteria in alerts. The following objects are available for use in expressions:

  • testRun

  • environment

For example, you can use environment=='foo' to match a specific environment or testRun.passCount < 100 or testRun.failCount > 100