How to use grunt in your maven lifecycle

How to use grunt in your maven lifecycle

Maven is the build lifecycle tool for your java projects; grunt is the build lifecycle tool for your front end projects. Can they coexist, and if so how? Unless you are using groovy in which case you are most likely using gradle, Maven (mvn) is the defacto build tool for java projects. It’s mature and well […]

To Unit Test or Integration Test

To Unit Test or Integration Test

To Unit Test or Integration Test … that is the question. And that is the subject of this post. I will be exploring whether it is better to write Unit Tests or Integration Tests, or whether there is a sweet spot in the middle ground somewhere. Striking the right balance It’s hard to get the balance right. […]

Unit testing and expected exceptions

Unit testing and expected exceptions

Testing for expected exceptions Unit testing – we’re all well versed at it by now, we know why we do it and we know how to do it. It’s baked into our development lifecycle and we do it well. Right? … This post looks at the case where we are expecting a given test scenario […]