- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5
Description
A note or two about the testing lesson:
Joe put together a really nice lesson testing. However, he introduced it right from the beginning. But we actually do a lot of testing in the first course.
Perhaps we don't do as good a job as we should, and a review of the basics is always good, but hopefully there will be time in course to to get into the advanced topics:
fixtures, parameterized testing, mocking, etc.
At one point, I had the students mock the input() function so they could fully test mailroom.
Also -- I, at least, really dislike unitttest. It's good to introduce it, as Python developers will see it, but I hope we won't teach it as the be-all and end-all of testing in Python. That is, show folks how to do fixtures, mocking, etc with pytest as well.
have at it!
-Chris