Skip to content

Commit

Permalink
[skip ci] docs: update testing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed May 16, 2024
1 parent 7fbc37b commit 08b7588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/testingdocument.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The tests are run against an empty database that is cleared and seeded at the be

### How to write and run tests locally

The `npm run test` command builds the testing environment each time from scratch and takes significant amount of time because of that. The base image in [Dockerfile](/Dockerfile) must be changed to node for this to work locally as the openshift image is not available.
The `npm run test` command builds the testing environment each time from scratch and takes significant amount of time because of that. The base image in [Dockerfile](/Dockerfile) must be changed to node for this to work locally as the redhat image is not available.

For writing tests locally there is a docker compose file for the purpose that allows you to make changes to the build while developing. Essentially meaning that the tests are run in dev envinroment rather than builded application.

Expand Down

0 comments on commit 08b7588

Please sign in to comment.