CSC/ECE 517 Fall 2016/E1671. Unit Tests for participants.rb Hierarchy: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 9: Line 9:
= What to do =
= What to do =


= Run the RSpec test =
= Run the test =
 
The test can be run on the terminal using following commands:
 
For participant:
<pre>
rspec spec/models/participant_spec.rb
</pre>
For assignment_participant:
<pre>
rspec spec/models/assignment_participant_spec.rb
</pre>
For participant:
<pre>
rspec spec/models/assignment_participant_spec.rb
</pre>


= Unit test =
= Unit test =

Revision as of 23:32, 28 October 2016

This wiki page is for the description of changes made under E1671 OSS assignment for Fall 2016, CSC/ECE 517.


Background

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

Problem

What to do

Run the test

The test can be run on the terminal using following commands:

For participant:

 rspec spec/models/participant_spec.rb

For assignment_participant:

 rspec spec/models/assignment_participant_spec.rb

For participant:

 rspec spec/models/assignment_participant_spec.rb

Unit test

Reference

1. https://github.com/expertiza/expertiza - Github link for original repository