Encouraging Good Behavior with JUnit 5 Test Interfaces

Billy Korando Articles, Development Technologies & Tools, Effective Automated Testing With Spring Series, Java, Spring, Testing 2 Comments

JUnit 5, released in September of 2017, is the first major release for the popular JUnit testing framework in a little over a decade. I recently presented on JUnit 5 at Lava One Conf in Hawaii in January. If you have heard about JUnit 5, but are not yet familiar with it, you can check out my presentation here, as well as the JUnit 5 User Guides.

While researching for my presentation, one new feature in JUnit 5 really caught my eye was the ability to declare tests on default methods in interfaces. This feature caught my eye because two issues I frequently face are encouraging developers to write automated tests and promoting consistent patterns across the enterprise. In this article we are going to look at how test interfaces can help accomplish both of these goals.

MockOla, Drag & Drop Wireframing Tool

MockOla is a rapid design tool to easily create user interface mockups and wireframes. Using a drag-and-drop element editor implemented with HTML5 Canvas, users can lay out user interfaces mockups, concept designs, and wireframes. The tool boasts a number of customization palettes, including handy templates for web, tablet, and mobile applications. Best of all, MockOla is free for individual and enterprise use. Start …