Skip to content
  • Topics
  • Search
  • Language
    • English
    • Deutsch
    • Español
    • Français
    • 日本語
    • 한국어
    • Русский
    • 简体中文
    • Português do Brasil
    • Türkçe
Burger menu icon
  • IDEs

    • CLion
    • DataGrip
    • DataSpell
    • Fleet
    • GoLand
    • IntelliJ IDEA
    • PhpStorm
    • PyCharm
    • RustRover
    • Rider
    • RubyMine
    • WebStorm
  • Plugins & Services

    • Big Data Tools
    • Code With Me
    • JetBrains Platform
    • Scala
    • Toolbox App
    • Writerside
    • JetBrains AI
    • Grazie
    • Junie
  • Team Tools

    • Datalore
    • Space
    • TeamCity
    • Upsource
    • YouTrack
    • Hub
    • Qodana
    • CodeCanvas
  • .NET & Visual Studio

    • .NET Tools
    • ReSharper C++
  • Languages & Frameworks

    • Kotlin
    • Ktor
    • MPS
    • Amper
  • Education & Research

    • JetBrains Academy
    • Research
  • Company

    • Company Blog
    • Security
Idea logo

IntelliJ IDEA

IntelliJ IDEA – the IDE for Professional Development in Java and Kotlin

Follow
  • Follow:
  • Linkedin Linkedin
  • Bluesky Bluesky
  • X X
  • Facebook Facebook
  • Youtube Youtube
  • RSS RSS
Download
  • All
  • News
  • Releases
  • Livestreams
  • Tips & Tricks
  • Early Access Program
  • Plugins

Screencast

Tutorial: Spock Part 5 – Other Useful Tips

We've now covered all the key features for creating and running tests with Spock. In Part 5, we finish up the Spock tutorial by looking at additional features that can help you to write short, descriptive, correct tests. Tutorial: Spock Part 1 - Getting Started Part 2 - Writing Tests Part …

Trisha Gee
Trisha Gee February 12, 2021

Tutorial: Spock Part 4 – Mocking and Stubbing

In Part 4 of our Spock tutorial, we look at mocking and stubbing. The Spock framework has mocking and stubbing built in. Creating, using and verifying mocks and stubs is nicely aligned with the way the tests are written, and can lead to very readable tests. Tutorial: Spock Part 1 - Getting Sta…

Trisha Gee
Trisha Gee February 8, 2021

Tutorial: Spock Part 3 – Data Driven Testing

In Part 3 of our Spock tutorial, we'll look at Data Driven Testing. This is one of my favourite things about Spock, although it is also supported in other frameworks like JUnit 5. Tutorial: Spock Part 1 - Getting Started Part 2 - Writing Tests Part 3 - Data Driven Testing Part 4 - Mockin…

Trisha Gee
Trisha Gee February 5, 2021

Tutorial: Spock Part 2 – Writing Tests

In Part 2 of our Spock tutorial, we'll look at writing Spock tests in more detail, including some tips on how to get the most from Groovy. Tutorial: Spock Part 1 - Getting Started Part 2 - Writing Tests Part 3 - Data Driven Testing Part 4 - Mocking and Stubbing Part 5 - Other Useful Ti…

Trisha Gee
Trisha Gee February 1, 2021
  • Privacy & Security
  • Terms of Use
  • Legal
  • Genuine tools
Language
  • English
  • Deutsch
  • Español
  • Français
  • 日本語
  • 한국어
  • Русский
  • 简体中文
  • Português do Brasil
  • Türkçe
  • Twitter
  • Facebook
  • Linkedin
  • Instagram
  • Youtube
  • RSS
  • Tiktok
Merchandise store iconMerchandise store
Copyright © 2000 JetBrains s.r.o.