Skip to content

IntegrationTests

Matus Backor edited this page Jul 19, 2019 · 5 revisions

Kentico Cloud Docs - Integration tests

status badge

Overview

The integration tests have been written in order to guarantee a correct working of Kentico Cloud documentation portal and its integration with other services such as Kentico Cloud, Algolia or GitHub.

Specification

Triggers

The tests can be run locally by running yarn test in the console. To ensure the correctness of the whole system automatically, the tests are run once a day as a CRON job on the Travis CI service. If the tests fail, developers are notified through a Teams channel.

How it works

The service is triggered by an HTTP request sent to the service's endpoint. Notifier creates a notification for Microsoft Teams and sends it to the defined team channels. Environment variable Teams.NotificationUrls contains URLs of the teams to be notified concatenated with ;. The service is able to send notification about successful run (mode="succes") or failed run (mode="error").

Clone this wiki locally