Is there a way to test for warning throws? Like
@test_throws does for exceptions.
Additionally, I would like tests that pass if a given code does not throw a Warning or an Exception. That is, I would also like a
@test_does_not_throw (for exceptions) and a
@test_does_not_warn (for warnings). How can I do these things?