Challenge: Test Using Best Practices
Explore how to design unit tests that follow best practices for a banking transaction model using NUnit. Understand techniques like concise naming, limiting control logic, achieving full coverage, and using code coverage tools to ensure quality and maintainability in your tests.
We'll cover the following...
We'll cover the following...
Introduction
In this project, you will write a unit test that tests the behavior of a class that models banking transactions. To frame your state of thinking in designing the unit tests, we’ve provided an assessment rubric. It will help indicate whether the principles that were taught in this section have been considered and applied.
Self assessment rubric
| I have… | Emergent | Satisfactory | Excellent |
|---|---|---|---|
| Excluded control logic in my tests | There was extensive use of control |