CSC/ECE 517 Fall 2017/E1752 Refactor assignments controller: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Introduction== Expertiza is an open source webapp built on Ruby on Rails stack. It provides a platform to students with various features like peer-reviewing projects, submittin...") |
No edit summary |
||
Line 13: | Line 13: | ||
* Creating functions to reuse chunks of code that were previously written multiple times. | * Creating functions to reuse chunks of code that were previously written multiple times. | ||
2. Refactoring assignemnts_controller.rb | |||
Included: | Included: | ||
* Formatting the code for readability and convention | * Formatting the code for readability and convention | ||
* Breaking down large chunks of code in to smaller manageable chunks. | * Breaking down large chunks of code in to smaller manageable chunks. |
Revision as of 17:17, 26 October 2017
Introduction
Expertiza is an open source webapp built on Ruby on Rails stack. It provides a platform to students with various features like peer-reviewing projects, submitting work, form teams, viewing grades etc. The project is being built and maintained by students and faculty at NCSU.
About assignments controller
The file assignments_controller.rb handles the logic behind Expertiza assignments and enables the creation and managements of assignments by instructional staff.
Tasks accomplished
1. Creating tests for the various methods
Included:
- Creating new tests for each method,
- Testing the each method and making sure the tests pass,
- Creating functions to reuse chunks of code that were previously written multiple times.
2. Refactoring assignemnts_controller.rb
Included:
- Formatting the code for readability and convention
- Breaking down large chunks of code in to smaller manageable chunks.