CSC/ECE 517 Spring 2023 - E2336. Reimplement response.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
The self.get_all_responses method which is currently in the response.rb file would be much cleaner as an instance method in response_map.rb. We plan to refactor the self.get_all_responses method in response.rb to an instance method in response_map.rb.
The self.get_all_responses method which is currently in the response.rb file would be much cleaner as an instance method in response_map.rb. We plan to refactor the self.get_all_responses method in response.rb to an instance method in response_map.rb.


 
[[File:CSC-ECE 517 Spring 2023 - E2336. Reimplement response.rb - Get all responses.png|700px]]


===Issue 6: Add more descriptive comments for the tests===
===Issue 6: Add more descriptive comments for the tests===

Revision as of 19:50, 7 April 2023

Project Overview

There are several issues we plan to address as part of this project.

  • Refactor the self.get_all_responses method as an instance method in response_map.rb file.
  • Add more descriptive comments for the tests.

Issue 5: Refactor the self.get_all_responses method

The self.get_all_responses method which is currently in the response.rb file would be much cleaner as an instance method in response_map.rb. We plan to refactor the self.get_all_responses method in response.rb to an instance method in response_map.rb.

File:CSC-ECE 517 Spring 2023 - E2336. Reimplement response.rb - Get all responses.png

Issue 6: Add more descriptive comments for the tests