CSC/ECE 517 Fall 2016/E1668.Test e-mailing functionality
E1668 -Test e-mailling functionality
Background
There are various ways to use e-mail functionality in the Expertiza. Users should get emails once they register successfully, they should get informed once they missed deadline of submission of their works and they should receive notification once others review their homework, their assigned work finished or others review one of their reviews. All of these above are functions belonging to emailing. However, there is no test for these functions in the Expertise right now, which should be added to ensure valid usage of e-mailling features.
Project Requirements
(1) We should write feature test with the use of RSpec
(2) We should create assignment record, participant record with the use of fixtures
(3) We should use Capybara to write these feature tests.
Tests
(1) Testing we can edit the email address in the profile tab.
(2) Testing we can set the email option in the profile tab.
(3) Testing we can send email to the users successfully when someone else reviews review our work
(4) Testing we can send email to the users successfully when someone else submits work I am assigned to review
(5) Testing we can send email to the users successfully when someone else reviews one of my reviews