Enhanced Exception Testing with the CatchException package - JUnit Tutorial

Опубликовано: 17 Октябрь 2024
на канале: Aneesh Mistry
2,849
38

Learn about the limitations to conventional exception testing from JUnit and resolve them using the catch-exception library from googlecodes.

The catch-exception library allows us to control a test method to capture an exception that can then be asserted upon with more detail and upon the runtime behaviour of our test.


Link to previous video on Exceptions:    • Testing for Exceptions - JUnit Tutorial  

Link to GitHub repo: https://github.com/4neesh/YouTube-Cha...


Comment, like and subscribe for more content on Java and software engineering.

Visit my website to also see my blogs: https://aneesh.co.uk