Browsed by
Tag: junit-platform-gradle-plugin

Finally JUnit 5 has native support in Gradle

Finally JUnit 5 has native support in Gradle

As promised, this time I am taking a look at the support that is offered for JUnit 5 now that we are more than 6 months past the official release of JUnit 5. If you have read through the process of developing this test suite, you will be aware that I had to use JUnit’s own JUnitPlatform Gradle plugin to run my test suite. This works just fine, but it is clunky, requires a LOT of code and most frustratingly…

Read More Read More

Dependency injection and abstraction.

Dependency injection and abstraction.

Every rose has its thorn. In the unlikely event that you have read all of my posts, you will be aware that I have had a try at dependency injection before but wasn’t happy enough with the results to push them. After looking at it this week I have managed to understand where my difficulties lie and and implement a solution that works. I’m still not really happy with it, but its enough to be able to get going on…

Read More Read More

A week of frustration

A week of frustration

DI frameworks are painful! This was a tough week and I am afraid that I don’t have any working code for you this week. I still have emotional scars from my attempts to configure dependency injection with Spring at work. After a lot of pain we eventually decided to use Google Guice and with it set up and running I don’t have too many problems adding to my framework. When I do mess it up however I find it very…

Read More Read More