Skip to main content Skip to local navigation
Home » Posts tagged 'jUnit 5'

jUnit 5

jUnit6, part 5: State Saving When Running Repeating Tests

Back when I was a PhD student at McGill, our lab had a rule of thumb when it came to robot tests: if the robot can't repeat the test at least ten times then it can't do it. You can see this in Dave McMordie's thesis, in Ned Moore's thesis, in Neil Neville's thesis and […]

jUnit 6, part 4: automated testing from the command line

When developing a stand-alone Java program all by yourself, it's typically preferable to do so from an IDE. However, a lot of projects rely on automated compiling and testing and this is really best done from the command line. While you may be used to using jUnit from inside an IDE like IntelliJ, it can […]

jUnit 6: unit testing in Java

This past year has seen the release of an update to jUnit, arguably the most important testing framework in software engineering and computer science. Now in its sixth release, jUnit makes a significant jump to eliminating support in anything before Java 17. When I got started with Java in 2020 most of the teaching material […]