Last updated: Feb 08, 23 18:46 UTC | Permalink
Week 5 - Testing Intro, Unit Tests / Test Adequacy Measures
Learning Objectives:
This week’s lessons will focus on testing, discussing the need for testing and importance of testing automation. We will also highlight what makes a test good or bad, how we compute code coverage and how one might judge how well a test suite accomplishes its testing goals. Finally we will discuss how to test larger systems by using test doubles.
Important Dates:
- Project Teams announced on Piazza
- Project Kick-off Meeting by 2/18
- Project Pitch due 2/25
Lessons:
- Introduction to Testing Slides PDF, PPT
- Evaluating Tests Slides PDF, PPT
- Testing Systems Slides PDF, PPT
Tutorials
Additional Readings:
-
For more discussion on Test Double, see Martin Fowler’s article, “Mocks Aren’t Stubs”.
-
See also the book by Gerard Meszaros “xUnit Test Patterns: Refactoring Test Code”.