Skip to main content
  • Home
  • Blog
  • Books
  • Online Training
  • Patreon
  • Talks
  • Tools
  • Podcast
  • Videos
  • Contact
    • About
    • Contact / Services
    • Email List

My Patreon site has exclusive content, including ad-free videos, e-books, training courses and more, all for as little as $1 a month. Click here to learn more.

Interested in sponsoring the site? [find out more]

JUnit Examples

All Posts | Categories | Archive

Data Driven Tests in JUnit 4 with Parameterized Tests

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.

Read More...


Basic Differences Between JUnit 4 and Junit 5

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.

Read More...


Generating JUnit HTML Reports

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.

Read More...


Using Both JUnit 4 and Junit 5

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.

Read More...


Join The Evil Tester Patreon Community

Free training courses and ebooks (sold for over $200).

Learn more about EvilTester on Patreon

Support our work and gain access to hints, tips, and prompts for improving your Software Development skills. Regular updates, multiple times a week for as little as $1 per month.

Patreon Members Login for exclusive courses and ebooks.


  • Blog
  • Podcast
  • YouTube
  • Online Training
  • Books

Contact

Contact Me

Join Email List

Email Privacy Details.


Online Training Courses

Free Technical Web Testing Course

Technical Web Testing Course

Evil Tester Talks Bundle

Evil Tester Talks Technical Testing Bundle

Selenium WebDriver Support Classes

Selenium WebDriver Support Classes in Java

All Courses


Books

Buy Dear Evil Tester Book Buy Java For Testers Book Buy Automating and Testing a REST API Buy Selenium Simplified Book

Learn more about our books


Follow

Connect via email Follow on Twitter Subscribe to my YouTube Channel Connect on LinkedIn Follow on GitHub Follow on Instagram Subscribe to my RSS Feed

Podcasts and Videos

Podcasts

Subscribe to YouTube Channel

Need some motivation?

Try the Sloganizer

"Of course I'm not evil, I just pretend to be."

Recent Blog Posts

Free Selenium WebDriver with Java Course Released To Youtube

Software Testing Podcast - Agentic AI Quality Engineering - The Evil Tester Show Episode 030

A Web Testing, Automating and Tooling Masterclass

How to Test This - Selenium WebDriver

Test Interaction with HTML form fields

New Version of CounterString Extension

Software Testing Podcast - AI Optimism or Pessimism - The Evil Tester Show Episode 029

Free Technical Web Testing Course Released To Youtube

  • All Blog Categories
  • Blog Post Archive List

Also...

Recommended Reading List

© Alan Richardson, Compendium Developments Ltd 2025 - Privacy Policy | Contact Us

Connect via email Follow on Twitter Subscribe to my YouTube Channel Connect on LinkedIn Follow on GitHub Follow on Instagram Subscribe to my RSS Feed