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

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

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...


How to learn Java with Exploratory Programming

4 minute read - FAQ JUnit Java For Testers

TLDR: Learn Java by taking advantage of code completion and JavaDoc in the IDE to explore classes with JUnit Tests

I my book Java For Testers I encourage the reader to experiment when learning Java by writing small JUnit tests to explore classes. I’m going to expand on that concept in this blog post and the associated video.

Read More...


Is JUnit only for unit testing? What about system testing or UAT?

3 minute read - Java For Testers JUnit

TLDR; We can use JUnit to execute code to support any type of testing.

Read More...


How to debug Java with IntelliJ: breakpoints, evaluate expression, watches and variable view

4 minute read - IntelliJ Java For Testers JUnit

I have deliberately created a failing test. Obviously deliberately since I would never ever create such simple issues in code.

Read More...


Does dependency between test execution imply lack of abstraction layers?

6 minute read - Java For Testers JUnit

TLDR; I try to write tests at an appropriate semantic level so I never need to create dependencies between @Test methods, I re-use abstraction calls instead of dependencies between @Test methods.

Read More...


FAQ: Why are my JUnit 4 asserts showing as deprecated

1 minute read - Java For Testers Java JUnit

“Why are my Junit 4 asserts deprecated?”

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

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

An overview of the Basic Shopping Cart Practice Web Page

Software Testing Podcast - BrowserStack Community QnA - The Evil Tester Show Episode 028

Convert Chrome Dev Tools Recording to WebDriver Java Code Using Free OpenCode AI Agent

Using Free OpenCode AI Agent to create Page Objects for WebDriver with Java

An overview of WebDriver with Java

An overview of the dummy practice web page Basic Web Page

An overview of the Software Test Pages, a dummy practice web testing application

Software Testing Podcast - Migrating Test Automation - The Evil Tester Show Episode 027

  • All Blog Categories
  • Blog Post Archive List

Also...

Recommended Reading List

© Alan Richardson, Compendium Developments Ltd 2022 - 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