CSC/ECE 517 Fall 2023 - E2376. Reimplement student quizzes controller.rb
Overview
Our team is tasked with creating the backend reimplementation of the student quizzes controller found in student_quizzes_controller.rb. We are to use SOLID principles and adhere to the Guidelines for Reimplementation.
Issues with Previous Functionality
Previous implementations of student quizzes were difficult to understand due to:
- The controller not following CRUD methodology
- The controller using vague names for variables.
- Difficulty in setting up a sample quiz and testing
- Test Driven Development (TDD) was not followed and tests created after the code. The code being in a unknown state led to tests that passed possibly buggy code.