Challenge: Unit Test Using Test-Driven Development
Explore how to apply test-driven development in unit testing by writing tests for a calculator class. Learn to use parameterized tests, organize test setups, and maintain a consistent testing approach to ensure effective and maintainable code.
We'll cover the following...
We'll cover the following...
Introduction
In this project, you’ll write a unit test that tests the behavior of a class using the test-driven development approach. An assessment rubric is provided to guide you on whether or not you’ve applied the principles taught in this chapter.
Self-assessment rubric
| I have… | Emergent | Satisfactory | Excellent |
|---|---|---|---|
| Used |