top of page

About my JUnit 5 course

As you have probably seen, my new course on JUnit 5 is now available at Test Automation University. It’s an introduction to all the amazing features of this framework that you can use in your automated tests, with, of course, plenty of examples.

Why should you take this course? Well, first of all, because you will see how to use the very nice and useful features of this framework. And, once you are familiar with it, you could actually use it in your tests. It is a very good framework for automation, and not only for developers, as the saying goes.

Some of the things i cover in this course, which i feel are very useful in our automation, are:

  • parameterized tests: there are several options of creating tests that require values for parameters to be fed into them when running them. For example, we can grab the parameter values from one or more CSV files. Or, if we just need one value for the parameter, we can pass the value inline. A method can also be the source of values passed as parameters to the test

  • the capability to enable or disable tests based on the OS they run on, based on a system property or an environment variable

  • the possibility of running tests only if a certain condition has been met (a so called ‘assumption’)

  • a good set of JUnit specific assertions, plus the possibility to use external libraries, like Hamcrest, for even more assertion capabilities

  • the option to rerun the same test multiple times without using parameters

  • setting timeouts on our test runs

  • grouping tests using tags

  • running tests in a certain order

  • and more…

So, if you haven’t already, go ahead and take the course. It’s free.

Recent Posts

See All

Creating an Architecture for Your Automated Tests Writing Automated Tests in Small Increments 4 Times Your Automation Passed While Bugs Were Present Now That You’ve Created Automated Tests, Run Them!

This week my newest article was released, this time on how to use Log4j to log relevant test automation information:

bottom of page