diff --git a/Documents/screenshots/s1 - Copy.png b/Documents/screenshots/s1 - Copy.png new file mode 100644 index 0000000..e24c522 Binary files /dev/null and b/Documents/screenshots/s1 - Copy.png differ diff --git a/Documents/srs.txt b/Documents/srs.txt new file mode 100644 index 0000000..6403a79 --- /dev/null +++ b/Documents/srs.txt @@ -0,0 +1,31 @@ +@RQ01 + +User should be able to search for an article by its title. + +@RQ02 + +User should be able to search for an article by its highlights. + +@RQ03 + +User should be able to search for an article by its abstract. + +@RQ04 + +User should be able to search for an article by its author. + +@RQ05 + +Users should be able to like/dislike each comment once only. + +@RQ06 + +If a user spams like/dislike, the system should alert the user to not spam. + +@RQ07 + +The allowed uploaded file format should be PDF with extension .pdf only. + +@RQ08 + +If the uploaded file format is not .pdf, the system should alert the user. diff --git a/Documents/test.txt b/Documents/test.txt new file mode 100644 index 0000000..cd33a7b --- /dev/null +++ b/Documents/test.txt @@ -0,0 +1,240 @@ +@T001 + +Test title: test case for requirement 1 + +Test for: RQ01 + +Description: Testing search by article's title. + +Rationale: Confirm that a user can search by title. + +Input: Learn Python Two + +Expected output: Article titled Learn Python Two + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + + +@T002 + +Test title: test case for requirement 2 + +Test for: RQ02 + +Description: Testing search by article's highlights. + +Rationale: Confirm that a user can search by highlights. + +Input: online food ordering system + +Expected output: Article titled Learn Python Two + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T003 + +Test title: test case for requirement 3 + +Test for: RQ03 + +Description: Testing search by article's abstract. + +Rationale: Confirm that a user can search by abstract. + +Input: This lab is a follow-up to Lab 2 + +Expected output: Article titled Learn Python Two + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T004 + +Test title: test case for requirement 4 + +Test for: RQ04 + +Description: Testing search by article's author. + +Rationale: Confirm that a user can search by author. + +Input: mohamedsukri11@hotmail.com + +Expected output: Article titled Learn Python Two + +Actual output: None. + +Diagnosis: The system can't find results by article's author name. + +Status: F + +Signature: Yussuf + +Date: 2020-05-24 + +@T005 + +Test title: test case for requirement 5 + +Test for: RQ05 + +Description: Testing whether a user can like a comment. + +Rationale: Confirm that a user can like comments. + +Input: Click Like button. + +Expected output: Like count increases. + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T005a + +Test title: test case for requirement 5 + +Test for: RQ05 + +Description: Testing whether a user can dislike a comment. + +Rationale: Confirm that a user can dislike a comment. + +Input: Click dislike button + +Expected output: Dislike counter increases. + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T006 + +Test title: test case for requirement 6 + +Test for: RQ06 + +Description: Testing comment like spam prevention. + +Rationale: A user may spam a like button for a comment. + +Input: Click like button repeatedly. + +Expected output: Alert message notifying the user to not spam. + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T006a + +Test title: test case for requirement 6 + +Test for: RQ06 + +Description: Testing comment dislike spam prevention. + +Rationale: A user may spam a dislike button for a comment. + +Input: Click dislike button repeatedly. + +Expected output: Alert message notifying the user to not spam. + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T007 + +Test title: test case for requirement 7 + +Test for: RQ07 + +Description: Testing uploading files of PDF format. + +Rationale: Users are allowed to upload PDF files only. + +Input: Upload PDF file. + +Expected output: File is uploaded successfuly. + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 + +@T008 + +Test title: test case for requirement 8 + +Test for: RQ08 + +Description: Testing uploading files of non PDF format. + +Rationale: Users are not allowed to upload non PDF files. + +Input: Upload DOC file. + +Expected output: Alert message + +Actual output: As expected + +Diagnosis: None. + +Status: P + +Signature: Yussuf + +Date: 2020-05-24 diff --git a/Documents/test_report.html b/Documents/test_report.html new file mode 100644 index 0000000..9679d22 --- /dev/null +++ b/Documents/test_report.html @@ -0,0 +1,787 @@ + + + + + + + + +

Requirement Traceability Matrix

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
REQUIREMENT\TESTT001T002T003T004T005T005aT006T006aT007T008
RQ01PASSED
RQ02PASSED
RQ03PASSED
RQ04FAILED
RQ05PASSEDPASSED
RQ06PASSEDPASSED
RQ07PASSED
RQ08PASSED
+

Requirements

+

RQ01

+User should be able to search for an article by its title.

Top

+

RQ02

+User should be able to search for an article by its highlights.

Top

+

RQ03

+User should be able to search for an article by its abstract.

Top

+

RQ04

+User should be able to search for an article by its author.

Top

+

RQ05

+Users should be able to like/dislike each comment once only.

Top

+

RQ06

+If a user spams like/dislike, the system should alert the user to not spam.

Top

+

RQ07

+The allowed uploaded file format should be PDF with extension .pdf only.

Top

+

RQ08

+If the uploaded file format is not .pdf, the system should alert the user.

Top

+

Test cases

+

T001

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 1
Test For:RQ01
Description:Testing search by article's title.
Rationale:Confirm that a user can search by title.
Input:Learn Python Two
Expected Output:Article titled Learn Python Two
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T002

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 2
Test For:RQ02
Description:Testing search by article's highlights.
Rationale:Confirm that a user can search by highlights.
Input:online food ordering system
Expected Output:Article titled Learn Python Two
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T003

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 3
Test For:RQ03
Description:Testing search by article's abstract.
Rationale:Confirm that a user can search by abstract.
Input:This lab is a follow-up to Lab 2
Expected Output:Article titled Learn Python Two
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T004

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 4
Test For:RQ04
Description:Testing search by article's author.
Rationale:Confirm that a user can search by author.
Input:mohamedsukri11@hotmail.com
Expected Output:Article titled Learn Python Two
Actual Output:None.
Diagnosis:The system can't find results by article's author name.
Status:F
Signature:Yussuf
Date:2020-05-24
+

Top

+

T005

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 5
Test For:RQ05
Description:Testing whether a user can like a comment.
Rationale:Confirm that a user can like comments.
Input:Click Like button.
Expected Output:Like count increases.
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T005a

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 5
Test For:RQ05
Description:Testing whether a user can dislike a comment.
Rationale:Confirm that a user can dislike a comment.
Input:Click dislike button
Expected Output:Dislike counter increases.
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T006

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 6
Test For:RQ06
Description:Testing comment like spam prevention.
Rationale:A user may spam a like button for a comment.
Input:Click like button repeatedly.
Expected Output:Alert message notifying the user to not spam.
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T006a

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 6
Test For:RQ06
Description:Testing comment dislike spam prevention.
Rationale:A user may spam a dislike button for a comment.
Input:Click dislike button repeatedly.
Expected Output:Alert message notifying the user to not spam.
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T007

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 7
Test For:RQ07
Description:Testing uploading files of PDF format.
Rationale:Users are allowed to upload PDF files only.
Input:Upload PDF file.
Expected Output:File is uploaded successfuly.
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+

T008

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for requirement 8
Test For:RQ08
Description:Testing uploading files of non PDF format.
Rationale:Users are not allowed to upload non PDF files.
Input:Upload DOC file.
Expected Output:Alert message
Actual Output:As expected
Diagnosis:None.
Status:P
Signature:Yussuf
Date:2020-05-24
+

Top

+ + + + + + + +

+ This test report was generated by RTM.py on + +

Copyright (C) 2020 Lan Laboratory [lanhui@zjnu.edu.cn]

+