Last updated: May 01, 24 18:34 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. This may vary from section to section.


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