Effective Automated Testing with Spring Series

    I published a course on Effective Automated Testing with Spring via Pluralsight in January 2018. In the creation of the course modules, I found so many important topics to talk about. My goal is to share what I have learned about automated testing with other developers. I decided to write a blog series on automated testing in an effort to help promote my course & provide additional insights into topics I wasn’t able to cover in the modules.

    In this blog tutorial series, I look at automated testing best practices, tools that make automated testing easier and more valuable, and where automated testing fits into our responsibilities as software developers. I hope you find these articles interesting and useful.

    Author Billy Korando

    Series

    Part One

    Without Automated Testing You Are Building Legacy

    How automated testing, or rather the lack there of, lies at the heart of a lot of the struggles we face as developers.

    Part Two

    Four Common Mistakes That Make Automated Testing More Difficult

    Four common mistakes that developers make when writing code or tests that can make automated testing more difficult.

    Part Three

    Encouraging Good Behavior with JUnit 5 Test Interfaces

    How test interfaces can help developers be more likely to actually write automated tests + promote consistent patterns across the enterprise.

    Part Four

    Conditionally Disabling and Filtering Tests in JUnit 5

    Discussion & examples of the improvements JUnit 5 brings to the table for filtering, tagging, and conditionally disabling automated tests.

    Part Five

    What’s New in JUnit 5.1

    JUnit 5.1 changes that are most impactful to the day-to-day tasks of writing automated tests, like improvements to conditionally disabling and enabling tests, parameterized tests, and programmatic extensions.

    Part Six

    Fluent Assertions with AssertJ

    Using testing library AssertJ to write automated tests that are easier to read with assertions, object comparisons, and validation. Examples show the benefits of using tests as living documentation, continually checked for validity as a project changes and grows over time.

    Part Seven

    Why Am I Writing This Test?

    A discussion of the three major purposes for writing automated unit tests. How they should be approached + what developers and automated testers can do right now to establish more purposeful practices. 

    Part Eight

    What's New In JUnit 5.2

    Enhancements added in JUnit 5.2 released on April 29th. We’ll focus on build tool enhancements that help in the adoption/migration to JUnit 5 for existing test suites and resolve annoyances, as well as what new changes further improve parameterized tests.

    If you would like to learn more on the topics displayed in this series, please check out the Effective Automated Testing with Spring course on Pluralsight.

    About the Author
    Billy Korando

    Billy Korando

    Twitter

    Billy Korando is a software consultant with Keyhole Software in Kansas City and currently working on-site with USDA. Billy has over a decade of experience in Java web development and has worked in the exciting industries like insurance, shipping, healthcare, finance, and government.