Skip FOLIO Project Navigation

GitHub and Twitter:

Developers are encouraged to run local tests before committing and pushing a branch.

Each front-end module has various tests (e.g. yarn test and yarn lint).

Each back-end module has unit tests (e.g. mvn clean test).

Some modules have additional local tests – see their README document.

The Wiki page ERM Unit Testing in RTL/Jest is a guide for writing unit tests for the UI modules within ERM, using RTL (React testing library) and the Jest test runner. The notes there will also be useful for other modules.

See Code analysis and linting facilities.

The integration tests and regression tests for FOLIO UI are explained at platform-complete and stripes-testing along with the ability to run specific tests.

(The deprecated repository ui-testing Regression tests for FOLIO UI might still be useful while tests and documentation are moved to those places.)

When running local tests, ensure a well-configured Stripes (see Creating a new development setup for Stripes). Ensure an up-to-date Pre-built Vagrant box.