Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

IntelliJ IDEA - Writing Tests with Spock

JetBrains via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
A screencast on writing and running unit tests with Spock. It covers specification structure, assertions, data-driven tests, mocks and stubs, and setup and teardown.

Syllabus

- Intro
- Creating a Project for Spock
- Setting up the Dependencies
- A Simple Assertion
- Given, When and Then
- Groovy Tips for Java Developers
- Label Flexibility
- Spock Plugin
- Expecting Exceptions
- Data Pipes
- Data Tables
- Mocks
- Stubs
- Helper Methods
- with
- verifyAll
- Setup and Teardown
- Specifications as Documentation
- Conclusion and More Information

Taught by

IntelliJ IDEA by JetBrains

Reviews

Start your review of IntelliJ IDEA - Writing Tests with Spock

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.