Files 1
Downloads 1,799
Favorites 2
My AddOns
    View Feature Request
    Improve Test of Expected Errors
    Feature #: 1911
    File: Safety
    Date: 01-03-07 04:52 PM
    By: FOR
    Status: Flagged for Future Version
    The system to set up a test that expects an error should be improved.

    Specifically:

    ~ instead of specifying the expected error message when defining the test case, the error message should be specified in the test method;
    ~ a test method should also be allowed to indicate that an error is expected without necessarily specifying the expected error message;
    ~ finally, the matching of an expected error with the actual error generated during the execution of a test method should be modified to be independent from the stack trace generated by default when an error is thrown.