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
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.
(The deprecated repository ui-testing Regression tests for FOLIO UI might still be useful while tests and documentation are moved to those places.)