The should-throw macro tests whether a provided test throws an exception:
(describe "Testing exceptions"
(it "throws ClassCastException"
(should-throw ClassCastException (non-blank? 1234))))
Running the tests catches the ClassCastException thrown, as follows:
lein spec
...........
Finished in 0,00482 seconds
11 examples, 0 failures