YoVDO

IntelliJ IDEA - Writing Tests with Spock

Offered By: JetBrains via YouTube

Tags

IntelliJ IDEA Courses Unit Testing Courses Data Tables Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore unit testing with the Spock framework in this 36-minute screencast. Learn to create a Spock project, set up dependencies, and write simple assertions. Discover the Given-When-Then structure, Groovy tips for Java developers, and how to use the Spock plugin. Master advanced techniques like expecting exceptions, data pipes, data tables, mocks, and stubs. Dive into helper methods, with() and verifyAll() functions, setup and teardown processes, and how to use specifications as documentation. Gain practical insights from author Trisha Gee and access additional resources for further learning about Spock and IntelliJ IDEA.

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

Tags

Related Courses

Estadística descriptiva
Universidad Politécnica de Cartagena via Miríadax
Excel: Fundamentos y herramientas
Universitat Politècnica de València via edX
Excel 2010
Universitat Politècnica de València via EMMA
SQL
Udacity
Introduction to Importing Data in R
DataCamp