To add a risk alert:
1.Select the Projects screen on the left menu
2. Choose the project from the drop down in the top left
3. Click the configuration gear button
4. Select the Alerts tab
5. Click the Add button
Choose the desired alert type and frequency.
5a: Set the alert frequency
- Immediate: Alerts are sent out as soon as the specified risks occur.
- Daily: Alerts are combined into a single daily alert sent at the specified time.
- Weekly: Alerts are combined into a single weekly alert sent on the specified day of the week and time.
- Monthly: Alerts are combined into a single monthly alert sent on the specified date and time.
Set the delivery time
Move the delivery hour and day next to period instead of below it.
5b: Set the alert type:
- High Risk Commit: Any commit which TestBrain has identified as having a high risk of containing a defect.
- Test Failure: A test run with a failure that indicates a new defect. Test failures due to flaky tests and open bugs are automatically excluded.
- Test Runs: Completion of an automated test run, including details of pass or fail status.
- Flagged Files: A commit which modifies flagged files or functional code areas. Flagged file alerts can provide notification of changes to business-critical areas of the application or areas of the code known to be defect prone.
- Test Prioritization Savings: A report on the accuracy of TestBrain’s automated test prioritization, showing the number of defects that would have been caught running TestBrain’s high, medium, and low priority tests and the reduction in the number of tests required by executing only the high or medium priority tests.
- Risk Analysis Results: A report detailing the accuracy of TestBrains risk analysis. This report looks at the defects fixed in the time period specified and then determines the risk of the commits containing the defect and reports the results. Thus, this report displays the accuracy of the commit risk analysis for the defects found in the time period.
- Specified Risk Criteria: Choose your own risk criteria for each commit to generate an alert. Risk factors you can select include:
- More than the specified number of functional areas changed in the commit.
- More than the specified number of files changed in the commit.
- More than the specified number of folders changed in the commit.
- Commit made by a specified author.
- Commit made by an author who has not changed this area of the code before.
- Commit made at a specified time or date.
- Commit changes code older than a specified age.
5c: Add alert recipients
Enter the email for a single recipient for the alert or a list of recipients separated by semicolons.
6.Click Save when done.