Recent Posts for Evil Tester Blog Posts

Data Driven Tests in JUnit 4 with Parameterized Tests

Jun 27, 2020 - 2 minute read - Java For Testers Java JUnit JUnit Examples

JUnit 4 supports parameterizing a Test class to run the test methods in the class with multiple data values.


Using Static Analysis to improve your Java Coding

Jun 24, 2020 - 2 minute read - IntelliJ Java For Testers Java

I’m always looking for simple ways that I can improve my Java programming. And SpotBugs, CheckStyle and PMD can help me do that.


Basic Differences Between JUnit 4 and Junit 5

Jun 23, 2020 - 3 minute read - Java For Testers Java JUnit JUnit Examples

There are many differences between JUnit 4 and 5, in terms of JUnit 5 having more capabilities and different ways of doing stuff.

But there are some very obvious differences between 4 and 5 in terms of: ignoring tests, running methods before and after methods and test classes, and exception asserting.


Generating JUnit HTML Reports

Jun 23, 2020 - 2 minute read - Java For Testers JUnit Java Maven JUnit Examples

To generate JUnit HTML reports from maven builds we need to add the surefire plugin to generate the xml files and then the site and reporting plugins to create the html report.


Using Both JUnit 4 and Junit 5

Jun 23, 2020 - 1 minute read - Java For Testers JUnit Java Maven JUnit Examples

I prefer to use either JUnit 4 or JUnit 5, but there may be moments when we want to use both. We can do that with JUnit 5 dependencies.


How to fix Java Language Level Issues

Jun 22, 2020 - 3 minute read - IntelliJ Java For Testers Maven

When using other people’s source code you might discover that you receive an error like. "java: strings in switch are not supported in -source 1.6 (use -source 7 or higher to enable strings in switch)" Or something similar. Watch on YouTube NOTE: text of this article updated 20200622 to cover the properties amendments. Define Language Levels in the pom.xml I might tackle this in two ways. One for the command line and one for the IDE.

What is Software Testing? My working definition.

Jun 21, 2020 - 8 minute read - Fundamentals Definitions What is Software Testing

In The Evil Tester Show podcast episode 8 I described definitions of software testing and outlined my own. In this post I will deep dive a little bit more into that model.


Older Posts for Evil Tester Blog Posts