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

From Expertiza_Wiki
Jump to navigation Jump to search

Introduction

Team

Zhewei Hu (zhu6) (mentor)

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

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