Last updated: Apr 05, 23 09:42 UTC | Permalink
Test-Driven Development
This activity is intended to supplement the CS4530 lecture on test-driven development.
Steps
- Download and unpack the starter Code
- Write down the testable behaviors for the satisfaction condition: “Add a new grade for an existing student”
- Identify at least two exceptional conditions or design decisions associated with these testable behaviors
- Write Jest tests for your testable behaviors
- Implement a method
addGrade
that passes your tests.
When you are done, submit your work as required by your instructor. This may vary from section to section.