Skip to content

How to Run Tests

Terminal window
pnpm test

Runs the test watcher interactively. By default, only tests related to files changed since the last commit are executed.

Terminal window
pnpm test:coverage

Produces 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.

The Playwright suite needs a running stack (GraphDB, minio, Back-Office) and is launched separately — see How to run end-to-end tests.

Terminal window
pnpm e2e:stack # bring the stack up and load the fixtures
pnpm e2e # run the suite