How to Run Tests
Run unit tests in watch mode
Section titled “Run unit tests in watch mode”pnpm testRuns the test watcher interactively. By default, only tests related to files changed since the last commit are executed.
Generate a coverage report
Section titled “Generate a coverage report”pnpm test:coverageProduces a full local HTML report at Bauhaus/coverage/lcov-report/index.html.
Unit tests run automatically on every git push via a pre-push hook.
End-to-end tests
Section titled “End-to-end tests”The Playwright suite needs a running stack (GraphDB, minio, Back-Office) and is launched separately — see How to run end-to-end tests.
pnpm e2e:stack # bring the stack up and load the fixturespnpm e2e # run the suite