CSC/ECE 517 Fall 2023 - E2376. Reimplement student quizzes controller.rb: Difference between revisions
Jump to navigation
Jump to search
(→Design) |
|||
Line 11: | Line 11: | ||
== Design == | == Design == | ||
=== Test Driven Development (TDD) === | |||
=== Controller === | |||
==== Create ==== | |||
==== Read ==== | |||
==== Update ==== | |||
==== Delete ==== | |||
== Solution == | == Solution == |
Revision as of 17:42, 14 November 2023
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.