Java Programming Tutorials

Java programming tutorials with many code examples!

Spock Framework share object reuse

Problem:

You’ve got some very costly object to instantiate or it just doesn’t change through all the tests and just want to reuse it (for example DateTime object). Spock Framework allows to do it in an easy and readable way. Learn here how!

Read More

Share with the World!

Spock Framework error reporting @Unroll

Problem:

Spock Framework is powerful data-driven testing library. Its where block makes tests very concise, but sometimes when test fail how to quickly find out which dataset didn’t work?

Read More

Share with the World!
Pages:12