Repository navigation
Wrong expected exception assertion in tests - #2908
Conversation
|
Hi Max Maximov (@2xmax), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Max Maximov (@2xmax) Seems Travis-CI temporary failed. Try restart CI job (ex. resubmit commit). |
|
closed to rerun travis |
|
Hi Max Maximov (@2xmax), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Hi Max Maximov (@2xmax), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Max Maximov (@2xmax) Just added another erroneous test. Maybe you fix this too? |
|
Max Maximov (@2xmax) Thanks for cleaning up the tests |
Hello, this is a follow-up pull request to the comment I left about expected exception assertions in the current tests.
To put it briefly, there were two problems I found:
As a result, in the case of no exception, the test would not become red. This command shows you lots mistakes like this:
P.S. We can also discuss how to prevent oversights like this in the future except for careful code-review, like using static code analysis or common fixtures