CSC/ECE 517 Fall 2021 - E2161. Merge code for role based reviewing with code for topic specific rubrics: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
==Brief Overview of E2147 and E2026 Projects== | ==Brief Overview of E2147 and E2026 Projects== | ||
* | *E2147(Role based reviewing): | ||
* | *E2026(Specialized rubrics for different topics): | ||
==Testing Plan== | ==Testing Plan== |
Revision as of 08:04, 22 November 2021
This wiki page contains description of changes designed and implemented for E2161. Merge code for role-based reviewing with code for topic-specific rubrics, a Final Project for CSC/ECE 517, Fall 2021.
Purpose
In CSC/ECE 517, there are Expertiza-based course projects, Mozilla-based course projects, etc. However, currently, we can only specify one kind of rubric for all kinds of course projects. This means that refactoring projects, testing projects, and Mozilla projects need to use the same rubric. We hope we could specify different rubrics to be used with different kinds of course projects.
The project objective is to merge E2147-https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2021_-_E2147._Role-based_reviewing#E2147._Role-based_reviewing with the existing E2026-https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Spring_2020_-_E2026._Specialized_rubrics_for_different_topic_types. While merging, we found out that the code for E2026 has already been merged on Expertiza beta branch and so now the actual implementation is to write test cases for both E2147 and E2026.
Brief Overview of E2147 and E2026 Projects
- E2147(Role based reviewing):
- E2026(Specialized rubrics for different topics):
Testing Plan
Test Scenarios for E2147(Role based reviewing)
- Role based review checkbox on Review Stratergy tab: Writing test case when the instructor clicks on Role based Review Checkbox on Review Stratergy Tab, it should get saved while saving the assignment.
- Create new roles: If the assignment is role based reviewing then the instructor should be able to create new roles for the same and save it in the database using new role functionality.
- Pop up message after saving the role based assignment: A message should pop up that new roles have not been created if no new roles have been setup by the instructor.
- Edit existing roles: Once the new roles have been created, then the instructor should be able to edit its details such as the maximum number of each role allowed.
- Delete existing roles: The instructor should also be able to delete any roles if he wants.
- Review rubric by role: On Rubrics tab, if the instructor clicks on Review rubric by role, then the corresponding rubric roles based teammate questionnaire should appear and get saved successfully.
- Student View: If the assignment is role based assignment, then the respective students should be able to see the respective teammate questionnaire based on roles for his other team members.
- Selection of Roles: On student login, a student should be able to see the existing roles that he can take up in the project. Only the roles which are available should be shown to the student.
Test Scenarios for E2026(Specialized rubrics for different topics)
As part of our implementation, we modified existing code as well as added new code. To ensure that existing functionality was not broken, and new functionality worked as expected, we used the following Test Strategy (which was also used by previous team):
Run and pass existing RSpec Tests
- The following existing RSpec test files have been modified and they pass as part of testing:
- spec/controllers/assignments_controller_spec.rb
- spec/controllers/questionnaires_controller_spec.rb
- spec/controllers/response_controller_spec.rb
- spec/factories/factories.rb
- spec/features/assignment_creation_spec.rb
- spec/features/quiz_spec.rb
- spec/features/staggered_deadline_spec.rb
- spec/models/assignment_form_spec.rb
- spec/models/assignment_spec.rb
- spec/models/on_the_fly_calc_spec.rb
- spec/models/response_spec.rb
- spec/models/review_response_map_spec.rb
Develop New RSpec Tests
- spec/helpers/duties_controller_spec.rb
- All these rspec tests passed.
Manual Testing in Expertiza UI
Here we describe manual UI Testing steps to edit an existing assignment to allow it have to specialized rubrics for different topic types. These steps are also shown in recorded demo video.
- Login to Expertiza using instructor account (For testing, username: instructor6, password: password)
- Click on Manage > Assignments
- Click on Edit option for any assignment, you should get following view. Make sure Has topics? box is checked.
- Click on Rubrics tab. You will see 2 checkboxes (Review rubric varies by round?, Review rubric varies by topic?)
- Check the box for Review rubric varies by topic?
- Go to Topics tab and verify that there is dropdown menu beside each Topic.
- Select a rubric from dropdown menu, and click Save
- Go back to Home, and select the same assignment to edit. When you click on Topics tab, you should see the rubric you had selected.
Team Information
- Naman Shrimali
- Kanchan Rawat
- Subodh Thota
- Andrew Shipman
Mentor : Prof. Edward F. Gehringer