Question: What two items must we always import in a separate module to perform testing on code we've written? Performing testing in a separate module is
What two items must we always import in a separate module to perform testing on code we've written? Performing testing in a separate module is considered good programming practice.
The function or class we want to test
Another person's code
random
pytest or unittest ie the library you'll use to help test the code
Another person's test cases
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
