etap_exception
Adds exception based testing to the etap suite.
Adds exception based testing to the etap suite.
Functions
dies_ok(F, Desc) -> term()
Assert that an exception is raised when running a given function.
lives_ok(F, Desc) -> term()
Assert that an exception is not raised when running a given function.
throws_ok(F, Exception, Desc) -> term()
Assert that the exception thrown by a function matches the given exception.