...

/

Isolating the Proctor’s Boundary Concerns

Isolating the Proctor’s Boundary Concerns

Let’s discuss the properties of our proctor and come up with a plan to test it.

In many ways, our proctor is the most significant testing challenge in this course. We have a scheduler that depends on concepts of both mutability and time, ideas that are generally kryptonite for tests.

Properties of our proctor that make testing difficult

The scheduler has three events:

  • Schedule

  • Start quiz

  • Stop quiz ...