Example code for my blog post on different strategis for testing exceptions in Java
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

#ExceptionTesting

This is the example code for [my blog post on different strategis for testing exceptions in Java]. [my blog post on different strategis for testing exceptions in Java]: http://desserud.org/?p=253

Known issues

Due to how the example is constructed, one of the tests will fail if you attempt to build the whole project. This is somewhat annoying, but is meant a starting point to investigate whether the test is actually checking what you want.

License

Copyright (c) 2014, Hans Joachim Desserud

Released under the BSD 2-Clause License. See LICENSE for details.