JHipster generates different types of tests for an application; some are optional and can be enabled while creating a new application, while some are always generated. The following are the different types of tests supported by JHipster and that we already talked about in Chapter 2, Getting Started with JHipster:
- Server-side unit tests: These are test cases for individual classes and methods and are done using JUnit.
- Server-side integration tests: These perform tests on the Spring components (REST controllers and services) making use of all of the layers behind them. It is done with Spring Test Framework and JUnit.
- Client-side unit tests: These are test cases for the client-side components and services and are done using the Jest framework.
- Client-side end-to-end tests: The end-to-end tests are written using the Protractor framework and they perform user...