You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jarlin Almanzar edited this page Nov 23, 2019
·
1 revision
Code Testing
We will be using Python's unittest module.
Unit Test and Test cases
A unit test verifies that one specific aspect of a function's behavior is correct.
A test case is a collection of unit tests that together prove that a function behaves as it's supposed to, within the full range of the situations that it's expected to handle.
A test case with full coverage includes a full range of unit tests covering all possible ways you can functions.