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

  1. Download and unpack the starter Code
  2. Write down the testable behaviors for the satisfaction condition: “Add a new grade for an existing student”
  3. Identify at least two exceptional conditions or design decisions associated with these testable behaviors
  4. Write Jest tests for your testable behaviors
  5. 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.


© 2024 Adeel Bhutta and Mitch Wand. Released under the CC BY-SA license