Announcements:
- Module 6 quiz has been released. For folks who did not listen to instructions, you will receive a 0 on ip2 unless you provide me with either a chatlog, or reason to believe you did not use an LLM (meaning you would like to sit down and discuss the code with me at a scheduled time). The same story will be true of project 3: you have automatically been "opted-in" to LLM usage for this assignment (opting out will require a 1-1 discussion during class or office hours).
- Based on the show of hands last class quizzes will now be in-class, the lecture after the final video has been posted. The quizzes will take 10-15m and be higher-level (ie: not indirectly quizzing concept by asking which git commands were used). All questions on the quiz will be in-scope. The schedule has been updated to reflect this.
- The aim of today will be to make progress on your preliminary project plans, which are due on Monday, for groups that are ready, I will be pulling them aside for 30-second elevator pitches and discussions of the work breakdown.
Learning Objectives:
In this module, you will learn to:
- Design test cases for code using fakes, mocks and spies
- Explain why you might need a test double in your testing
- Explain why you might need tests that are larger than unit tests
- Explain how large, deployed systems lead to additional testing challenges
Important Dates:
- Preliminary Project Plan *Due Monday, Oct 19 by 11:59pm (CST)
- Your first Team Progress report is due on Blackboard this Friday by 11:59pm
Lecture:
- See 7-2 videos on blackboard. Slides.
Activity
There will be a Q&A session held at the beginning of class. The main goal of today's class will be to make progress on your preliminary project plan for GameNite.
Resources
- Software Engineering at Google: “Larger Testing”
- Martin Fowler on Fakes, Mocks, Spies and More
- Vitest cheat sheet — includes lots of coverage of Vitest mocking
- Aye Spy, visual regression testing