Fixing and running tests

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

Get Full Stack Development with JHipster - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.