Spock
-
Enterprise Java

Spock 1.2 – hassle-free Spring beans mocking in integration tests
Discover how to automatically inject Spock’s mocks and spies into the Spring context using Spock 1.2. Stubs/mocks/spies in Spock (and…
Read More » -
Kotlin

Testing Kotlin with Spock Part 2 – Enum with instance method
The enum class with instance method in Kotlin is quite similar to its Java version, but they are look a…
Read More » -
Kotlin

Testing Kotlin with Spock Part 1 – Object
The object keyword in Kotlin creates singleton in a very convenient way. It can be used for example as a…
Read More » -
Enterprise Java

Testing your code with Spock
Spock is a testing and specification framework for Java and Groovy applications. Spock is: Extremely expressive Facilitates the Given /…
Read More » -
Enterprise Java

Grails 3.3 Integration Testing with Spock Mocks
It is easy to use the Spock Framework, shipped with Grails, to mock or stub a collaborator (such as a…
Read More » -
Desktop Java

Outputting the given, when, then, Extending Spock
Spock is a Java testing framework, created in 2008 by Peter Niederwieser a software engineer with GradleWare, which facilitates amongst…
Read More » -
Groovy

Grails 3.3 has Spock 1.1
You’ll be glad to know that milestone 1 of Grails 3.3 has been released 3 days ago — and is…
Read More » -
Core Java

Groovy for Java Developers?! Meet Gradle, Grails and Spock
What are some of the most interesting Groovy use cases for Java developers? Although it’s been around for a while,…
Read More » -
Scala

Testing AKKA application with Spock
AKKA is message-driven and actor model based concurrency toolkit. Although it’s written in Scala, AKKA can be used in any…
Read More »






