Programming for fun and profit

Programming tutorials, problems, solutions. Always with code.

Spock spy and partial mocking

Problem:

How to create Spock Spy and do partial mocking? In this post we’re going to show practical application of partial mocking using Spy. Let’s test!

Read More

Share with the World!

AutoCleanup Spock test resources

Problem:

How to AutoCleanup Spock test resources? It turns out that Spock Framework has a flexible mechanism just for that purpose. Let’s write some code to test it!

Read More

Share with the World!
Pages:12