Ad
  • Custom User Avatar

    I got the feedback of the test environment as follows:

    Testing the League class:

    NFC North 2012:

    Checking Errors and initial standings data:

    Expected error was thrown: ReferenceError: wins is not defined

    Test Passed

    Expected error was thrown: ReferenceError: points is not defined

    Test Passed

    So both test were passes, each error was expected (well they must be expected, if the arguments passed to the methodes are wrong). But the overall outcome was "Incorrect". How is it possible to have an incorrect result if all the tests were passed?