Oct 28: Review and Unit Test Coverage
Learning Objectives
After today's class, you should be able to:
- Write programs that use topics from the first 8 weeks.
- Run pytest from VS Code, one test function at a time.
- Describe how requirements are verified by autograders.
- Run pytest from VS Code with the coverage option.
- Show how to clear test results from previous runs.
Announcements¶
- Withdraw deadline Tue, Oct 28th
- If you are getting a D or F, consider withdrawing
- Please come and talk to me during office hours!
- Quiz 4 on Thursday in King 2204
- Written questions on Canvas
- Coding questions on Gradescope
- Must use Thonny (not VS Code)
- PA2 Waffle Game (file I/O + nested data)
- Part A due Tue 11/4 (TBD pts)
- Part B due Tue 11/11 (TBD pts)
- Reading Week 11
Lesson Outline¶
- Prac4 Solution
- PA1-B Solution
- Review Activity
- Submit to Gradescope by Wednesday
- Testing with Coverage
- Submit to Gradescope by Thursday