Master Package

Current Status

Not Enrolled

Price

Closed

Get Started

This package is currently closed

After you have completed the starter and intermediate packages, you understand how you can write unit, integration, and end-to-end tests for Spring and Spring web applications by using the Java programming language. Also, you learned how you can save time by writing less test code.

That being said, even though Java is a good programming language, it has its limitations. That’s why the master package helps you to overcome these limitations when you are writing unit, integration, and end-to-end tests for Spring and Spring Boot web applications.

After you have completed this package, you understand how you can get rid off unnecessary boilerplate code by leveraging the power of Groovy programming language and Spock Framework. More importantly, you can write specification classes which specify the requirements of your application by using English (or any other language). This means that you can transform your tests into executable specifications which are so easy to read that even a business expert can understand them.

You will also have access to a monthly webinar that helps you to take your testing skills to the next level. You can participate in these webinars for the next 12 months after your purchase.

This package consists of eight topics:

The Introduction to Spock Framework topic act as an introduction to this package and helps you to understand the other topics of this package. After you have completed this topic, you can compile and run your unit tests with Maven and Gradle, you can write specification classes which specify the expected behavior of the system under test, you undestand how you can write assertions with Spock Framework, and you can write parameterized tests with Spock Framework.

The Creating Test Doubles With Spock Framework topic describes how you can different test doubles with Spock Framework and use these test doubles in your specification classes. After you have completed this topic, you can specify the expected method parameters by using argument constraints, you understand how you can stub methods with Spock Framework, and you can verify the interactions which happened between the system under test and a mock or a spy.

The Writing Unit Tests With Spock Framework topic helps you to write unit tests for Spring and Spring Boot web applications. To be more specific, this topic explains how you can create test data by leveraging the less verbose syntax of Groovy programming language and write unit tests for “normal” Spring MVC controllers and Spring MVC REST APIs.

The Introduction to Integration Testing – Spock Edition topic describes how you can keep your build clean by using different source and resource directories for your unit and integration tests. Also, you will learn to compile and run both unit and integration tests by using either Maven or Gradle.

The Writing Integration Tests With Spock Framework topic describes how you can write integration tests for Spring and Spring Boot web applications. You will learn to configure the system under specification (Spring MVC Test Framework) when you are using either Spring or Spring Boot. Also, this topic helps you to initialize your database into a known state before your feature methods are run and write assertions for the data found from the database. Finally, this topic describes how you can write integration tests for Spring powered repositories, “normal” Spring MVC controllers, and Spring MVC REST APIs.

The Writing End-to-End Tests With Spock Framework topic helps you to write end-to-end tests for Spring and Spring Boot web applications. This topic starts by describing how you can compile and run your end-to-end tests with Maven and Gradle. You will also learn to keep your project clean by using different source and resource directories for your unit, integration, and end-to-end tests. After you know how you can create your Maven or Gradle project, you will learn to configure the system under specification (Selenium WebDriver) when you are using either Spring or Spring Boot. Finally, this topic demonstrates how you can write end-to-end tests with Spock Framework.

The Bonus Webinars 2018 topic contains the bonus webinars that will be recorded during 2018. These webinars help you to use the testing enchancements provided by Spring Boot.

The Bonus Webinars 2019 topic contains the bonus webinars that will be recorded during 2019. These webinars describe how you can write unit tests for Spring and Spring Boot web applications with Kotlin and JUnit 5.

The master package contains the starter and intermediate packages.

Package Content