CESNET-Integracni-portal / integracni-portal

MIT License
0 stars 0 forks source link

Consider using Spock Framework instead of JUnit #2

Open jirutka opened 9 years ago

jirutka commented 9 years ago

Since you’re using Groovy for tests (excellent choice!), you may consider using much more powerful Spock Framework instead of poor JUnit.

Let’s look at the same test written in TestNG (it’ll be even worse in JUnit) and Spock. ;)

If you’re interesting in more examples, then look at my Java projects on GitHub.

redhead commented 9 years ago

We are using UnitDB and springockito annotations for integration testing, is it possible to use them with Spock?