Automated alerts for flaky tests and regressions
TestNod alerts track patterns across multiple test runs and notify your team when those patterns cross configurable thresholds. The current alert types cover tests that fail intermittently, builds that get slower over time, skipped tests piling up unnoticed, runs where a batch of tests fails at once, and tests that have stayed skipped for too long. This page covers how alerts work in TestNod and what to expect once you enable them on your project.
What TestNod alerts you on
Each alert type is off by default. An admin enables them per project from the alert configuration page, and TestNod runs the enabled checks against new test runs as they finish processing.
| Type | Default threshold | What it catches |
|---|---|---|
| Performance regression | 15% over median | Builds that are getting slower over time. |
| Test flakiness | 30% failure rate | Tests that pass and fail without code changing, including tests that only pass on a retry. |
| Skipped test count creep | 10% median skip rate | Skipped tests piling up unnoticed. |
| Failure rate spike | 15 points over average | A run where a batch of tests went red at once. |
| Stale skipped tests | 30 days | A test that has been skipped in every run for too long. |
Each alert type has its own page with details on how its check runs and how to tune the threshold for your project.
How the checks decide when to fire
When a new test run finishes processing, TestNod compares it against the last 20 processed test runs that share the same set of tags. A run tagged smoke is compared only against other smoke runs.
If you don't tag your runs, every run shares the implicit Default tag and the comparison happens across the whole project. That works for simple setups, but it's less useful once you have more than one test suite running.
Each check needs at least 20 same-tag runs of history to compare against, so a new project or tag combination doesn't create any events until it reaches that count. The stale skipped tests alert doesn't need 20 runs, but it does need same-tag runs going back at least as far as its threshold, because it counts the days since a test last ran.

Alerts and alert events
Two related concepts show up in the dashboard:
- Alert. A single ongoing record for each combination of project and alert type. The alert tracks whether the check is on or off, where the threshold is set, and whether it's currently snoozed.
- Alert event. A single time the check triggered. The event includes the test run that triggered it, the test case involved (where applicable), and the numbers behind it.
The alerts page lists every alert across your organization. Clicking into an alert opens its event timeline, so you can see how often it has triggered and when it last did.

Notifications
When an active alert creates an event, TestNod emails the project members who haven't opted out of that alert type. Notifications run on a 24-hour cooldown per alert, so you get at most one email per 24 hours per alert, however often it triggers. The stale skipped tests alert has no cooldown, since it reports each skipped test once.
You can opt in or out of each alert type from your notification preferences page. If you want to stop notifications without disabling the check, snooze the alert instead. The check keeps running and recording events, and notifications resume once the snooze expires. See Snooze, resolve, dismiss for the full state model.
Who can change what
| Action | Members | Admins |
|---|---|---|
| Read alerts and their event history | ✅ | ✅ |
| Snooze or unsnooze an alert | ✅ | ✅ |
| Manage their own notification preferences | ✅ | ✅ |
| Enable or disable an alert type | ❌ | ✅ |
| Change an alert's threshold | ❌ | ✅ |
| Resolve or dismiss an alert | ❌ | ✅ |
See Configuring alerts for the configuration page walkthrough, and the alerts API for reading alerts and changing their state from your own scripts.
Where to start
If you haven't uploaded any test runs yet, the Quickstart walks through getting your first run into TestNod. After that, an admin can open the alert configuration page and turn on the alert types relevant to your project. The checks start comparing runs once a tag set has 20 runs of history.