RAW Rota – Convert Requirements into specific test cases

irotaFactory

  • Produces X number of proposed rotas for a specified time period

Irota

  • A collection of shifts and events for staff
  • fitness score that was generated at creation time can be retrieved
  • fitness score is final
  • events can be amended
  • staff can be amended
  • Staff can be added to the rota so events and clinics can be allocated to them
  • Staff can be removed
  • Staff cannot be removed if they are allocated shifts or events.
  • Shift can be amended
  • Change Istaff
  • Change date
  • Change period

Istaff

  • Holds Name
  • Holds Staff referrence number

Holds Role

Event

  • Holds Name of event
  • Holds period of event

IrotaRule

  • holds staff ref
  • Takes a rota and provides a fitness score of how well the rule fits

IstaffDatabase

  • Holds Istaff

IrotaDatabase

  • Holds Irota

IruleDatabase

  • Holds IrotaRule

IrotaMediator

Formerly the RotaCoordinator class, the IrotaMediator interface follows the mediator pattern this lously couples the classes encapsulating the communication. between them. It is ultimatly is where the requirements list is forfilled.

Leave a Reply

Your email address will not be published. Required fields are marked *