Unflakable organizes collections of tests into test suites. We recommend creating
one test suite for each set of tests that run together in a single execution of
a test framework. For example, you might have one test suite called Frontend Unit Tests
and another called Frontend End-to-End Tests if these tests run in separate steps of
your team's CI pipeline.
Click the Add Test Suite button labeled with a plus sign (+).
Give the test suite a name.
Select the appropriate test framework from the drop-down menu.
If your team is affected by flaky tests that use a test framework we don't yet
support, please let us know!
Select the stable branches that should trigger test status changes and
notifications.
To treat all branches as stable, click All branches are stable.
To use a regular expression to specify which branches are stable, click Branches are stable only if they match the following regular expression and enter the desired regular expression.
After each edit, the text underneath will update to show sample branches that match, or an error message if the regular expression is invalid. The regular expression must satisfy the syntax rules of the Rust regex crateNew tab. Most standard regular expression syntax is supported, but lookahead/lookbehind and back-references are not.
Optionally enable any existing integrations for this test suite.
Click ADD to create the test suite.
Once the test suite has been created, a dialog will appear with instructions for running
the tests. The instructions are specific to the test framework selected above.
If you're a new Unflakable user, we recommend following the
Getting Started guide.
The process for running tests depends on the language and test framework in use.
First, add a test suite if you have not already done so.
To view instructions for running a test suite, visit the
Test SuitesNew tab page and click the View Run Instructions
icon ( View Run Instructions )
in the upper-right corner of the respective test suite card.
For further details, refer to the appropriate plugin documentation.
Navigate to the tests page by clicking the Tests (Tests)
button for the appropriate test suite.
To quarantine a test, click the Quarantine Test icon
( Quarantine Test ) near
the right side of the row. Note that this icon only appears next to tests that are
not currently quarantined.
To remove a test from quarantine and set its status to passing,
click the Remove from Quarantine icon
( Remove from Quarantine ) near
the right side of the row. Note that this icon only appears next to tests that are
currently quarantined.
To update a flaky test to passing, click the Update Status to Passing icon
(Update Status to Passing ) near the right side of the row.
Note that this icon only appears next to flaky tests.
If auto-quarantine is enabled, the toggle switch to the right
of the Auto-quarantine tests text will appear green and positioned to the
right (Disabled). Otherwise, it will appear gray and positioned to the left (Enabled).
To enable or disable auto-quarantine, click the switch.
A green checkmark will appear once the update is successful.
Hover your mouse cursor over the current stable branches value. An edit icon
( Edit ) will appear
to the left of the current value.
Click the edit icon. The Edit Stable Branches dialog will appear.
Select the desired stable branches:
To treat all branches as stable, click All branches are stable.
To use a regular expression to specify which branches are stable, click Branches are stable only if they match the following regular expression and enter the desired regular expression.
After each edit, the text underneath will update to show sample branches that match, or an error message if the regular expression is invalid. The regular expression must satisfy the syntax rules of the Rust regex crateNew tab. Most standard regular expression syntax is supported, but lookahead/lookbehind and back-references are not.
Expand the Integrations settings for the test suite by clicking on Integrations.
If an integration is enabled, the toggle switch to the right of its name
will appear green and positioned to the right (Disabled).
Otherwise, it will appear gray and positioned to the left (Enabled). Note that
globally disabled integrations will not appear.
Click a switch to enable or disable the corresponding integration for the test suite.
A green checkmark will appear once the update is successful.
Deleted test suites are not shown in the Unflakable web application, and any attempts to
report new test results for a deleted test suite will fail. This may cause your team's CI
workflow to fail! Be sure that a test suite is not in use before deleting it.
The Last run shown on the Test SuitesNew tab page
indicates when results for each test suite were last reported.