CSC/ECE 517 Fall 2016/E1668.Test e-mailing functionality: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
==Project Requirements== | ==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: | |||
Create RSpec file in /spec/features/ folder. | Edit E-mail address and E-mail options under profile. | ||
Use fixtures to create the assignment record and any other records such as participant records in test DB. | Test if email can be correctly received | ||
Use Capybara to write feature tests for: | Create multiple tests to check valid and invalid cases. | ||
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== | ==Tests== |
Revision as of 00:25, 28 October 2016
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.