nfriend / website-3.0-tests

Automated tests for my personal website.

Home Page:https://gitlab.com/nfriend/website-3.0-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

website-3.0-tests

GitLab build status

Automated tests for my personal website.

View the source on GitLab.

Getting started

  1. Clone this repo
  2. Run yarn to install dependencies
  3. Run yarn test to run tests (or yarn test --watch to re-test when files are saved)

About the tests

These tests run against the live version of https://nathanfriend.io. Because of this, it's wise to make sure the tests aren't being too aggressive 🙂. However, this shouldn't be too much of an issue since the tests are rate limited.

Notifications

When at least one test fails, a push notification is sent via Pushover. In order for this to work, the following environment variables need to be available to the pipeline:

Variable name Description
PUSHOVER_TOKEN The Pushover API token
PUSHOVER_USER The Pushover user ID
PUSHOVER_DEVICE The device to send the notification to

About

Automated tests for my personal website.

https://gitlab.com/nfriend/website-3.0-tests

License:MIT License


Languages

Language:JavaScript 100.0%