CSC/ECE 517 Fall 2021 - E2169. Testing - Answer Tagging

From Expertiza_Wiki
Revision as of 19:46, 31 October 2021 by Akkhadse (talk | contribs) (Initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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