/exception_checker

Implementing jUnit's ExpectedException behavior using the command pattern.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

exception_checker

A small class that demonstrates how to implement jUnit's ExpectedException by using the command pattern.

Environment

This code has been tested on Windows and Mac, with Oracle's JDK12 and IntelliJ.

Walkthrough

You can find a thorough walkthrough and analysis of the code here and here.

Contact

Submit a pull request or contact jason.filippou@gmail.com with any questions or suggestions.