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

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Introduction==
==Introduction==
===Team===
===Team===
Zhewei Hu (zhu6) (mentor)
Zhewei Hu (zhu6) (mentor)

Revision as of 21:48, 2 November 2018

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