M
Matthew Rudy
I'm writing a suite of tests for an sms application.
Because I want to properly test the functionality, it does try to send
real messages, but with a dummy flag attached.
This is fine, except the dummy flag is kept in the database,
(so it isn't loaded until the fixtures load)
(otherwise I'd do a raise in my test_helper definition.)
I've defined an assertion called assert_not_live!,
which is fine,
it stops the TestCase that happens to be running,
but really if such a catastrophic failure occurs,
I want to stop the whole suite...
is there an exception I can raise which deliberately breaks the test
runner or perhaps rake container?
Because I want to properly test the functionality, it does try to send
real messages, but with a dummy flag attached.
This is fine, except the dummy flag is kept in the database,
(so it isn't loaded until the fixtures load)
(otherwise I'd do a raise in my test_helper definition.)
I've defined an assertion called assert_not_live!,
which is fine,
it stops the TestCase that happens to be running,
but really if such a catastrophic failure occurs,
I want to stop the whole suite...
is there an exception I can raise which deliberately breaks the test
runner or perhaps rake container?