There are currently no Unit Tests for React components as this did not fit within the budget for the pilot. In future, we would like to create a suite of tests which will protect against regressions in front-end features, enabling us to develop further features in a more rigorous way.
We can implement this as a separate Unit Test workflow in GitHub Actions. To accomplish this, we need to investigate:
- Appropriate libraries for unit-testing React
- Node-based tests versus browser (integration) tests using e.g. webdriver.
There are currently no Unit Tests for React components as this did not fit within the budget for the pilot. In future, we would like to create a suite of tests which will protect against regressions in front-end features, enabling us to develop further features in a more rigorous way.
We can implement this as a separate Unit Test workflow in GitHub Actions. To accomplish this, we need to investigate: