MediumScenarioTesting and quality
How do you test a function that writes to a file?
This answer is part of Pro
14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat is test-driven development?Next How would you test that an exception is raised with the right message?