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 should be a feature test for e-mailing functionality. Expertiza should be able to support e-mailing function for users can receive specific issues from expertiza.

Project Requirements

What needs to be done: Understand the flow of the e-mailing functions. Do not use the development DB, otherwise your tests will not pass on TravisCI. Create RSpec file in /spec/features/ folder. Use fixtures to create the assignment record and any other records such as participant records in test DB. 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