CSC/ECE 517 Fall 2016/E1668.Test e-mailing functionality

From Expertiza_Wiki
Jump to navigation Jump to search

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)Create RSpec file in /spec/features/ folder. (2)Use fixtures to create the assignment record and any other records such as participant records in test DB. (3)Use Capybara to write feature tests for: Edit E-mail address and E-mail options under profile. Test if email can be correctly received Create multiple tests to check valid and invalid cases.

Tests

Proposed future work

Reference