Run automated tests in the cloud regularly

Why use schedules?

When you've already prepared automated tests, you should run them on a regular basis to monitor if your web app works properly.

Fortunately, you don't need to log in to BugBug and click "Run" every week 😄. BugBug can run the tests in the cloud automatically and notify you about failed tests with email notifications.

To use schedule and cloud runs you need to have a paid subscription - see pricing

Run all tests every hour

Scheduling cloud monitoring with automated tests doesn't require any engineering knowledge or additional infrastructure. Here's how to do it:

  1. Make sure your selected test suite passes when you run them in the cloud

  2. Go to "Schedules"

  3. Click on the "New schedule" button

  4. Select "Hourly" and fill out all of the required fields

  5. Select "All suites" or any other specific suite

  6. Make sure "Schedule enabled" is turned on

  7. Click on the "Create schedule" button

That's it! BugBug will now run your tests every hour. You will receive email notifications when all tests have been completed.

Get email notifications with reports for scheduled results

You will receive notifications with scheduled test results directly in your inbox. You can configure who gets notifications in project settings.

Emails notifying about failed schedules are marked with a symbol.

Important! By default all suites use the auto-retry failed tests setting to avoid sending you false-alarm notifications from unstable, flaky tests.

Tip! Add a filter in your email to avoid inbox clutter. Or disable notifications for passed runs.

The email contains details about the results and direct links to the tests that failed. After clicking the link you will see a read-only report of this run from the run history.

Customize schedule

If you work on a large project, you may want to have more than one schedule. For example, you can run production tests every hour but monitor your test environment just once a day at night.

Create more schedules to have control over which suites are run and when.

Important! Only suites can be scheduled - you can't schedule running individual tests.

  1. Create separate test suites

  2. Go to "Schedules"

  3. Click the "New schedule" button

  4. Fill out the name field

  5. In the "Time" section, select the type of run from Every 5 minutes/Hourly/Daily/Weekly/Monthly (for this example, we'll select Daily).

  6. Select the suites you want to run and set the scheduled time range

  7. Make sure "Enabled" is turned on

  8. Click on the "Create schedule" button

Last updated