CSC/ECE 517 Fall 2018/E1850. Write unit tests for review response map.rb

From Expertiza_Wiki
Revision as of 21:48, 2 November 2018 by Ytian22 (talk | contribs)
Jump to navigation Jump to search

Introduction

Team

Zhewei Hu (zhu6) (mentor)

  • Cheng Yuan (cyuan7)
  • Yue Tian (ytian22)
  • Ke Zhao (kzhao2)

Background

Expertiza is an open source web based peer review system developed and maintained by students and faculty members at North Carolina State University. It enables students enrolled in a particular course to form online teams and complete assignments.

Task

Our job is to use Rspec to write unit tests for review_response_map.rb.


Work

We have the following functions to test.


Run the Test

The tests can be run on the terminal from inside the expertiza folder using following commands:

 rspec spec/models/review_response_map_spec.rb


References

Expertiza documentation

Expertiza in Github

Code

Demo

Rspec Documentation