skinny85 / specnaz

Library for writing beautiful, RSpec/Jasmine/Mocha/Jest-style specifications in Java, Kotlin and Groovy
Other
34 stars 8 forks source link

Include the received exception when encountering an unexpected exception in shouldThrow #13

Closed skinny85 closed 4 years ago

skinny85 commented 4 years ago

Otherwise, you only see the class name of the received exception when the test fails with a different exception than was expected (its stack trace gets lost).

Related to #12