Suites
Last updated
Last updated
Suites are great for grouping test cases to run them in parallel. They are simply groups of multiple tests. Organise your tests into Suites to quickly run several tests at once.
By default BugBug has one suite called "All tests", where you will find all tests you created in a project. All newly created tests will be automatically added to this suite.
Suites can be scheduled to run in the cloud and are useful for working with different environments.
Here are some examples of suites that usually help with test automation workflow.
you can have a suite that monitors only core features on your production, scheduled every hour
you can have a full regression suite that you run manually before the release
you can have a "feature branch" suite that has work in progress tests that are not yet ready to be run on production, but after the release you will add them to the production suite
you can have suites that run the same tests with different profiles, for example checking your app on multiple languages
You can create custom suites in the Suites tab:
Click Create new suite
button
Add Suite name
Choose tests that you want to include in a suite
Choose options for a suite
Save
If your suite sometimes randomly fails, but there is no certain reason for that, you may be annoyed by the "failed" false positive notifications. The industry term for tests that fail randomly for no reason is flaky tests.
Flakiness can be caused by many different factors:
a slowdown in the internet connection
busy server side
temporary machine CPU overload
You probably don't want to get notifications for such randomly failed tests - your app works as it should, it was just a temporary problem that doesn't require attention. BugBug allows you to prevent such unnecessary alerts.
When auto-retry is enabled:
If one of the tests in a suite fails, it will be automatically run again
if another attempt passes, we will mark the suite as "passed", but you can still see the failed test attempt in the test runs history, marked as "auto-retried"
If the test fails for the second time, it will be again restarted
If the test fails the specified number of times, we will mark the suite as "failed"
When auto-retry is disabled:
If any of the tests fail, the suite will continue running and after all the tests are finished it will be marked as "failed"
Important! Auto-retry only works in suites run in the BugBug cloud. Pro subscription is required.