CSC/ECE 517 Fall 2021 - E2169. Testing - Answer Tagging
Background
Answer tagging (see answer_tab.rb and wiki) helps determine a few metrics on a student’s responses to a questionnaire. Students can tag these metrics for other students for things such as “Positive Tone” or “Suggest Solutions”.
These specs below all need to be further developed to cover missing methods/lines. Some structures currently exist at the top of spec files (such as assignments, participants, etc) to help make writing tests easier. Please feel free to add to these and write extra tests to cover any edge cases you may think of.
As an instructor on an assignment, going to Etc/View Reports/Answer Tagging Report will show student answer tagging. You will be able to see the percentage of answers tagged, # of answers tagged, # not tagged, and # of taggable answers for each student on a questionnaire.
Initial Coverage
Answer_tags_controller_spec : 0% Covered
Tag_prompt_deployment_spec : 18% Covered
Missed Methods
app/controllers/answer_tags_controller.rb
action_allowed?
index
create_edit
destroy
app/models/tag_prompt_deployment.rb
get_number_of_taggable_answers
assignment_tagging_progress