Learning Objectives:
After this lecture, you will be able to:
- Explain how TypeScript types and documented preconditions influence what tests you need to write
- Explain the difference between the
anyandunknowntypes in TypeScript - Understand the structure of a simple Express server incorporating Zod validation
- Explain what code coverage is, and how different measures differ, including statements, branches, functions, and lines
Important Dates:
- Individual Project 1 Due Monday, August 21 by 11:59pm (CST)
Activities
Tutorials
Resources
- Working with JSON
- Zod documentation
- Software Engineering at Google: "Testing"
- Go Testing By Example, by Rob Pike — source of the "Coverage is no substitute for thought" quote from the slides with a lot of good and general advice about testing