CSC/ECE 517 Fall 2016/E1668.Test e-mailing functionality: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 12: Line 12:


==Tests==
==Tests==
(1) Testing we can edit the email address in the profile tab.
(1) Testing email address can be edited successfully in the profile tab.


(2) Testing we can set the email option in the profile tab.
(2) Testing email option can be checked successfully in the profile tab.


(3) Testing we can send email to the users successfully when someone else reviews review our work
(3) Testing email can be sent to the users successfully when someone else reviews review their work.


(4) Testing we can send email to the users successfully when someone else submits work I am assigned to review
(4) Testing email can be sent to the users successfully when someone else submits work they are assigned to review


(5) Testing we can send email to the users successfully when someone else reviews one of my reviews
(5) Testing email can be sent  to the users successfully when someone else reviews one of the reviews


==Proposed future work==
==Proposed future work==


==Reference==
==Reference==

Revision as of 00:55, 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) 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 email address can be edited successfully in the profile tab.

(2) Testing email option can be checked successfully in the profile tab.

(3) Testing email can be sent to the users successfully when someone else reviews review their work.

(4) Testing email can be sent to the users successfully when someone else submits work they are assigned to review

(5) Testing email can be sent to the users successfully when someone else reviews one of the reviews

Proposed future work

Reference