ultraq / thymeleaf-layout-dialect

A dialect for Thymeleaf that lets you build layouts and reusable templates in order to improve code reuse

Home Page:https://ultraq.github.io/thymeleaf-layout-dialect/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Give Spock another go

ultraq opened this issue · comments

One thing I've found annoying w/ JUnit is that you need to manage state with any shared objects, ie: anything that is declared on the test class. Having worked with C# equivalents of these like NUnit (works like JUnit) and the alternative xUnit, I really like how xUnit creates a new instance for every test, removing the need to have to reset shared objects.

Spock shares this philosophy with xUnit, so I'd like to give that testing framework another try (after having been introduced to it back in 2013!) and see how it works with everything else in this project. Especially now that I'm more familiar with the Groovy syntactic sugar, Spock should look far less alien than it did before.