Testing for exceptions with JUnit
26th Apr 2021 by Aneesh Mistry

Testing for Exceptions with JUnit

Learn how you can test for expected exceptions that are thrown from your methods with JUnit.
With just a single line, we can increase our test coverage to expect exceptions to be thrown from our class behaviour.

YouTube video link


Share this post