CSC/ECE 517 Fall 2021 - E2170. Testing - Response Maps: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 18: Line 18:
response_map.rb <----------------- no coverage
response_map.rb <----------------- no coverage


review_re
This project aims to get all the response maps to at least a 70% level of coverage for every Response Map file.


=== Team ===
=== Team ===

Revision as of 18:57, 1 November 2021

About Expertiza

Expertiza is an open source project based on Ruby on Rails framework that supports submission across different document types, including theURLs and wiki pages. It allows the instructor not only to create and customize new or existing assignments but also to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions.


Description about project

This page is a description of Expertiza OSS project E2170 which aims to adequately test several files regarding the ResponseMap model. Here is a description of what response maps do:

  • In Expertiza, response maps establish a relationship between a reviewer, a reviewee, and an object to be reviewed. The reviewer is an assignment_participant, the reviewee is an assignment_team, and the reviewed object is either an assignment or another response_map. Each (reviewer, reviewee) pair will have a separate response map. Every time a new review is performed (e.g, every round), a new Response object is created whose map_id is that response map.

The breakdown of the ResponseMap model can be found here. There are several types of ResponseMaps that extend functionality of the original ResponseMap. None of which including the superclass are adequately tested. These files include:

review_response_map.rb <--------- %11.36 coverage

metareview_response_map.rb <------ no coverage

teammate_review_response_map.rb <- no coverage

response_map.rb <----------------- no coverage

This project aims to get all the response maps to at least a 70% level of coverage for every Response Map file.

Team

Connor Smith (cpsmith6)

Abir Majumder (aamajumd)

Quinn Dibble (qdibble)

Alex Carruth (agcarrut)

Test Files Involved

review_response_map_spec.rb

metareview_response_map_spec.rb

teammate_review_response_map_spec.rb

response_map_spec.rb


Running Tests

  rspec ./spec/controllers/<test file name>

Relevant Methods

Results

Relevant Links