Setting up batch completion notifications in the SDK
As explained in Batch completion notifications, you can set up Eyes using the Eyes Test Manager so that when a batch completes and it includes tests for a defined application, users will get an email or Slack notification informing them of the batch completion, and providing a summary of the test run and a link to the results.
Apart from configuring in the Eyes Test Manager which test applications will be notified and who will get the notifications, you also need to enable this feature on each batchinfo
object, using the class$batchinfo$setnotifyoncompletion$morp
after the object is created. This is demonstrated in the following snippet:
Related topics
-
How to organize your tests with batches.. This article is a general overview of the batch feature.
Grouping tests into batches with the SDK. This article describes how to use the SDK to assign tests to batches when they are running in the same process.
-
Batching tests in a distributed environment. This article explains the steps you need to do batch tests into a batch when the tests are not together in the same process.