Last updated: Nov 15, 24 04:26 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 (check the Canvas asssignment for details, if assigned). This may vary from section to section.