Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
12 lines (7 loc) · 753 Bytes

unit-tests.md

File metadata and controls

12 lines (7 loc) · 753 Bytes

Unit Tests

Tests are run automatically using GitHub Actions and are defined here. Currently there are tests written for the ui container and the web container.

The ui container uses npm for running unit tests and the web container uses py.test . Each container has a Dockerfile.test defined that runs each container's respective tests.

To add more tests, add them relative to each component, as opposed to globally at the root of the project. This allows components to be build and tested without having to rely on the entire ecosystem of the project.

{% hint style="warning" %} Be aware that currently there are no integration tests. {% endhint %}