Master Package
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
Writing Unit Tests With Spock Framework
-
Creating Test Data With Groovy
-
Writing Unit Tests for Spring MVC Controllers – Configuration
-
Writing Unit Tests for “Normal” Spring MVC Controllers – Rendering Data
-
Writing Unit Tests for “Normal” Spring MVC Controllers – Forms
-
Writing Unit Tests for a Spring REST API – Reading Data
-
Writing Unit Tests for a Spring REST API – Writing Data
- Creating Test Data With Groovy
- Writing Unit Tests for Spring MVC Controllers – Configuration
- Writing Unit Tests for “Normal” Spring MVC Controllers – Rendering Data
- Writing Unit Tests for “Normal” Spring MVC Controllers – Forms
- Writing Unit Tests for a Spring REST API – Reading Data
- Writing Unit Tests for a Spring REST API – Writing Data
Writing Integration Tests With Spock Framework
-
Configuring the System Under Specification
-
Using DbUnit With Spock Framework
-
Writing Integration Tests for Spring Powered Repositories
-
Writing Integration Tests for “Normal” Spring MVC Controllers – Rendering Data
-
Writing Integration Tests for “Normal” Spring MVC Controllers – Forms
-
Writing Integration Tests for a Spring MVC REST API – Reading Data
-
Writing Integration Tests for a Spring MVC REST API – Writing Data
- Configuring the System Under Specification
- Using DbUnit With Spock Framework
- Writing Integration Tests for Spring Powered Repositories
- Writing Integration Tests for “Normal” Spring MVC Controllers – Rendering Data
- Writing Integration Tests for “Normal” Spring MVC Controllers – Forms
- Writing Integration Tests for a Spring MVC REST API – Reading Data
- Writing Integration Tests for a Spring MVC REST API – Writing Data
Writing End-to-End Tests With Spock Framework
-
Running End-to-End Tests With Maven – Spock Edition
-
Running End-to-End Tests With Gradle – Spock Edition
-
Writing End-to-End Tests With Spock Framework – Configuration (Spring Edition)
-
Writing End-to-End Tests With Spock Framework – Configuration (Spring Boot Edition)
-
Writing End-to-End Tests With Spock Framework – Rendering Data
-
Writing End-to-End Tests With Spock Framework – Forms
- Running End-to-End Tests With Maven – Spock Edition
- Running End-to-End Tests With Gradle – Spock Edition
- Writing End-to-End Tests With Spock Framework – Configuration (Spring Edition)
- Writing End-to-End Tests With Spock Framework – Configuration (Spring Boot Edition)
- Writing End-to-End Tests With Spock Framework – Rendering Data
- Writing End-to-End Tests With Spock Framework – Forms
Bonus Webinars 2018
-
Writing Unit, Integration, and End-to-End Tests With JUnit 5
-
Writing Integration Tests for Spring Powered Repositories With JUnit 5
-
Writing Tests for REST Clients With JUnit 5
-
Getting Started With Spring REST Docs
-
Getting Started With Spring REST Docs, Part Two
-
Introduction to TestContainers
-
Integrating TestContainers With JUnit 5
-
Writing Integration Tests With JUnit 5 and TestContainers
-
Introduction to Spring Cloud Contract, Part One
-
Introduction to Spring Cloud Contract, Part Two
-
Using Spring Cloud Contract With JUnit 5
- Writing Unit, Integration, and End-to-End Tests With JUnit 5
- Writing Integration Tests for Spring Powered Repositories With JUnit 5
- Writing Tests for REST Clients With JUnit 5
- Getting Started With Spring REST Docs
- Getting Started With Spring REST Docs, Part Two
- Introduction to TestContainers
- Integrating TestContainers With JUnit 5
- Writing Integration Tests With JUnit 5 and TestContainers
- Introduction to Spring Cloud Contract, Part One
- Introduction to Spring Cloud Contract, Part Two
- Using Spring Cloud Contract With JUnit 5
Bonus Webinars 2019
-
Running Kotlin Tests With Maven
-
Running Kotlin Tests With Gradle
-
Writing Test Classes With Kotlin and JUnit 5
-
Writing Parameterized Tests With Kotlin and JUnit 5, Part One
-
Writing Parameterized Tests With Kotlin and JUnit 5, Part Two
-
Introduction to MockK, Part One
-
Introduction to MockK, Part Two
-
Stubbing Functions With MockK
-
Verifying Function Invocations With MockK
-
Writing Unit Tests for a REST API With Kotlin and JUnit 5: Configuration
-
Writing Unit Tests for a REST API With Kotlin and JUnit 5: Reading Data
-
Writing Unit Tests for a REST API With Kotlin and JUnit 5: Writing Data
- Running Kotlin Tests With Maven
- Running Kotlin Tests With Gradle
- Writing Test Classes With Kotlin and JUnit 5
- Writing Parameterized Tests With Kotlin and JUnit 5, Part One
- Writing Parameterized Tests With Kotlin and JUnit 5, Part Two
- Introduction to MockK, Part One
- Introduction to MockK, Part Two
- Stubbing Functions With MockK
- Verifying Function Invocations With MockK
- Writing Unit Tests for a REST API With Kotlin and JUnit 5: Configuration
- Writing Unit Tests for a REST API With Kotlin and JUnit 5: Reading Data
- Writing Unit Tests for a REST API With Kotlin and JUnit 5: Writing Data
Bonus Lessons 2020
-
The Pros and Cons of Increasing the Size of the Tested Unit
-
Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Configuration
-
Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Reading Data
-
Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Writing Data
-
Writing Integration Tests for a REST API With Kotlin and JUnit 5: Configuration
-
Writing Integration Tests for a REST API With Kotlin and JUnit 5: Reading Data
-
Writing Integration Tests for a REST API With Kotlin and JUnit 5: Writing Data
-
Using the Same DbUnit Data Sets From Multiple Maven Modules
-
Using the Same DbUnit Data Sets From Multiple Gradle Modules
-
Writing Custom DbUnit Data Types: The Basics
-
Writing Custom DbUnit Data Types: Text Array
-
Writing Custom DbUnit Data Types: JSON
- The Pros and Cons of Increasing the Size of the Tested Unit
- Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Configuration
- Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Reading Data
- Writing Integration Tests for a Spring Repository With Kotlin and JUnit 5: Writing Data
- Writing Integration Tests for a REST API With Kotlin and JUnit 5: Configuration
- Writing Integration Tests for a REST API With Kotlin and JUnit 5: Reading Data
- Writing Integration Tests for a REST API With Kotlin and JUnit 5: Writing Data
- Using the Same DbUnit Data Sets From Multiple Maven Modules
- Using the Same DbUnit Data Sets From Multiple Gradle Modules
- Writing Custom DbUnit Data Types: The Basics
- Writing Custom DbUnit Data Types: Text Array
- Writing Custom DbUnit Data Types: JSON