diff --git a/TestingDocuments/.DS_Store b/TestingDocuments/.DS_Store new file mode 100644 index 0000000..7e50387 Binary files /dev/null and b/TestingDocuments/.DS_Store differ diff --git a/TestingDocuments/srs.txt b/TestingDocuments/srs.txt new file mode 100644 index 0000000..d3d037f --- /dev/null +++ b/TestingDocuments/srs.txt @@ -0,0 +1,24 @@ +@RQ01 + +Display authors' email address + +@RQ02 + +Pagination - Display multiple articles in a single page (5 articles) + + +@RQ03 + +Pagination - Display multiple articles in a single page (10 articles) + +@RQ04 + +Pagination - Display multiple articles in a single page (20 articles) + +@RQ05 + +Delete Comments Feature - Allows authors to delete their own comments + +@RQ06 + +Delete Comments Feature - Do not permit authors to delete other authors' comments \ No newline at end of file diff --git a/TestingDocuments/test.txt b/TestingDocuments/test.txt new file mode 100644 index 0000000..5ad8854 --- /dev/null +++ b/TestingDocuments/test.txt @@ -0,0 +1,188 @@ +@T001 + +Test title: test case for Displaying Author Emails + +Test for: RQ01 + +Description: +Displays Author Emails + +Rationale: When article information is displayed, correct author email displayed + +Input: + +None. + +Expected output: + +email of author + +Actual output: + +As expected. + +Diagnosis: +Displays correct email as expected + +Status: P + +Signature: Jes + +Date: 2020-06-01 + +################# + + + +@T002 + +Test title: test case for Pagination (5) + +Test for: RQ02 + +Description: +Pagination - Display 5 articles in a single page + +Rationale: +So as to preview multiple articles + +Input: + +Expected output: +Displays 5 articles in a single page + +Actual output: +5 articles displayed + +Diagnosis: +Works as expected. + +Status: P + +Signature: Jes + +Date: 2020-06-02 + + + +@T003 + +Test title: test case for Pagination (10) + +Test for: RQ03 + +Description: +Pagination - Display 10 articles in a single page + +Rationale: +So as to preview multiple articles + +Input: + +Expected output: +Displays 10 articles in a single page + +Actual output: +10 articles displayed + +Diagnosis: +Works as expected. + +Status: P + +Signature: Jes + +Date: 2020-06-02 + + + +@T004 + +Test title: test case for Pagination (20) + +Test for: RQ04 + +Description: +Pagination - Display 20 articles in a single page + +Rationale: +So as to preview multiple articles + +Input: + +Expected output: +Displays 20 articles in a single page + +Actual output: +20 articles displayed + +Diagnosis: +Works as expected. + +Status: P + +Signature: Jes + +Date: 2020-06-02 + + + +@T005 + +Test title: Delete Comments Feature + +Test for: RQ05 + +Description: Allows authors to delete their own comments + +Rationale: Incase authors wish to withdraw comments. + +Input: Button: "Delete"; Input author email for verification + +Status: P + +Expected output: Comment gets deleted if author email is correct + +Actual output: + +As expected. + +Diagnosis: Verifies author and deletes comment provided that comment belongs to the author + +Status: P + +Signature: Jes + +Date: 2020-06-03 + + + +@T006 + +Test title: Delete Comments Feature + +Test for: RQ06 + +Description: Do not permit authors to delete other authors' comments + +Rationale: No one is able to delete a comment unless it is their own + +Input: Button: "Delete"; Input author email for verification + +Status: P + +Expected output: +If email does not exist, program displays "Error: you are not an author yet", +If email belongs to a different author, program displays "Error: You did not post this comment!" + +Actual output: + +As expected. + +Diagnosis: Does not allow authors to delete comments they did not post + +Status: P + +Signature: Jes + +Date: 2020-06-03 \ No newline at end of file diff --git a/TestingDocuments/test_report.html b/TestingDocuments/test_report.html new file mode 100644 index 0000000..e43af01 --- /dev/null +++ b/TestingDocuments/test_report.html @@ -0,0 +1,523 @@ + + + + + + + + +

Requirement Traceability Matrix

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
REQUIREMENT\TESTT001T002T003T004T005T006
RQ01PASSED
RQ02PASSED
RQ03PASSED
RQ04PASSED
RQ05PASSED
RQ06PASSED
+

Requirements

+

RQ01

+Display authors' email address

Top

+

RQ02

+Pagination - Display multiple articles in a single page (5 articles)

Top

+

RQ03

+Pagination - Display multiple articles in a single page (10 articles)

Top

+

RQ04

+Pagination - Display multiple articles in a single page (20 articles)

Top

+

RQ05

+Delete Comments Feature - Allows authors to delete their own comments

Top

+

RQ06

+Delete Comments Feature - Do not permit authors to delete other authors' comments

Top

+

Test cases

+

T001

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for Displaying Author Emails
Test For:RQ01
Description:Displays Author Emails
Rationale:When article information is displayed, correct author email displayed
Input:None.
Expected Output:email of author
Actual Output:As expected.
Diagnosis:Displays correct email as expected
Status:P
Signature:Jes
Date:2020-06-01
+

Top

+

T002

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for Pagination (5)
Test For:RQ02
Description:Pagination - Display 5 articles in a single page
Rationale:So as to preview multiple articles
Input:
Expected Output:Displays 5 articles in a single page
Actual Output:5 articles displayed
Diagnosis:Works as expected.
Status:P
Signature:Jes
Date:2020-06-02
+

Top

+

T003

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for Pagination (10)
Test For:RQ03
Description:Pagination - Display 10 articles in a single page
Rationale:So as to preview multiple articles
Input:
Expected Output:Displays 10 articles in a single page
Actual Output:10 articles displayed
Diagnosis:Works as expected.
Status:P
Signature:Jes
Date:2020-06-02
+

Top

+

T004

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:test case for Pagination (20)
Test For:RQ04
Description:Pagination - Display 20 articles in a single page
Rationale:So as to preview multiple articles
Input:
Expected Output:Displays 20 articles in a single page
Actual Output:20 articles displayed
Diagnosis:Works as expected.
Status:P
Signature:Jes
Date:2020-06-02
+

Top

+

T005

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:Delete Comments Feature
Test For:RQ05
Description:Allows authors to delete their own comments
Rationale:Incase authors wish to withdraw comments.
Input:Button: "Delete"; Input author email for verification
Expected Output:Comment gets deleted if author email is correct
Actual Output:As expected.
Diagnosis:Verifies author and deletes comment provided that comment belongs to the author
Status:P
Signature:Jes
Date:2020-06-03
+

Top

+

T006

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Test Title:Delete Comments Feature
Test For:RQ06
Description:Do not permit authors to delete other authors' comments
Rationale:No one is able to delete a comment unless it is their own
Input:Button: "Delete"; Input author email for verification
Expected Output:If email does not exist, program displays "Error: you are not an author yet",
If email belongs to a different author, program displays "Error: You did not post this comment!"
Actual Output:As expected.
Diagnosis:Does not allow authors to delete comments they did not post
Status:P
Signature:Jes
Date:2020-06-03
+

Top

+ + + + + + + +

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

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

+