Writing Unit Tests With Spock Framework

After we have finished all lessons of this topic, we:

  • Can create test data by using the Groovy programming language.
  • Understand how we can configure the Spring MVC Test framework when we write Spock specification classes.
  • Can write unit tests for Spring and Spring Boot web applications by using the Spring MVC Test framework and Spock framework.