Getting early feedback applying Test-Driven Development

Test-Driven Development (TDD) is one of the Extreme Programming (XP) core practices, re-discovered[1] in 2003 by Kent Beck, that relies on very short feedback loops: you write the test (expectation), make it fail, write the minimum amount of code to make it pass (redundancy is accepted at this point). Write a new test, it fails, make it pass… keep running […]

Spock test framework, live long and prosper.

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired from JUnit, jMock, RSpec, Groovy, Scala, Vulcans, […]