We have Unit tests and UI (functional) tests in the project. Each setup is completely different.

Unit test#

We use Jest for Unit tests. 1. To run all tests type a command: npm run test

UI test (functional)#

  1. Configure Selenium, WireMock, Maven

  2. To run ui tests type a command: mvn verify

Coding styles#

We use ESlint as a linting utility. All configuration is stored in .eslintrc.js file. Additionally we use Prettier library to format code.

  • To check source code run a command: npm run lint

  • To check prettier suggestions run a command: npm run prettify