IDE

Fighting Testing Boilerplate with IntelliJ IDEA Live Templates

This article will focus on JUnit 5, but most of the things should be applicable for any other testing framework, your imagination is the only limit. JUnit5 File and code templates IntelliJ IDEA allows creating test classes with the following shortcut (Ctrl + Shift + T / ⇧ + ⌘ + T). This window allows …

Fighting Testing Boilerplate with IntelliJ IDEA Live Templates Read More »

IntelliJ Live Template that makes my life little easier

Creating unit test usually requires some boilerplate – you have to create separate class in proper directory, add annotations and provide test method name. While it’s not much, I started to think: how can this boilerplate could be reduced? To make our test discoverable by test framework and IDE, we usually need to annotate test …

IntelliJ Live Template that makes my life little easier Read More »