From 0464ceb0bba8183043c39080a30c52dd1f494797 Mon Sep 17 00:00:00 2001 From: Abhilipsa Sahoo Date: Fri, 15 Jul 2022 17:27:33 +0530 Subject: [PATCH 1/4] Create README.md --- docs/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/README.md diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..1b8d294 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,31 @@ +This document contains some examples of test cases for each feature implemented on the backend. + +**Tools:** + +- Test the REST API with Swagger UI provided in the link of the deployed server. + +- Test the REST API using Postman (if you feel comfortable with this). + +**Notes:** + +- Outcome Fail means the test case has no effect in the database, so no changes are done in the data. An error message should be returned. + +- Outcome Success means that the test case was successful and had an effect in the database, so this change/effect should be reflected in the database. + +# Access to unrestricted APIs + +- This part deals with the possible test cases while accessing Unrestricted APIs + +## Categories + +- The only unrestricted APIs are: GET/categories/all, GET/categories/{id}/sections + +### Get all sections + +**Service:** GET/categories/all + +**Parameters:** None + +| Test Case | Outcome | +| --------- | --------- | +| Fetch sections for all existing category ids | Success | From ff00cc9e6340f7b323204276351f2b9d8930cdf3 Mon Sep 17 00:00:00 2001 From: Abhilipsa Sahoo Date: Fri, 15 Jul 2022 17:28:30 +0530 Subject: [PATCH 2/4] Update README.md --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 1b8d294..6384683 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -This document contains some examples of test cases for each feature implemented on the backend. +This document contains some examples of test cases for each feature implemented on the backend. **Tools:** @@ -14,7 +14,7 @@ This document contains some examples of test cases for each feature i # Access to unrestricted APIs -- This part deals with the possible test cases while accessing Unrestricted APIs +- This part deals with the possible test cases while accessing Unrestricted APIs. ## Categories From 119a250ca3945166d37028741b0254b3f893c158 Mon Sep 17 00:00:00 2001 From: Abhilipsa Sahoo Date: Fri, 15 Jul 2022 17:28:57 +0530 Subject: [PATCH 3/4] Rename README.md to quality_assurance_test_cases.md --- docs/{README.md => quality_assurance_test_cases.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docs/{README.md => quality_assurance_test_cases.md} (100%) diff --git a/docs/README.md b/docs/quality_assurance_test_cases.md similarity index 100% rename from docs/README.md rename to docs/quality_assurance_test_cases.md From 01e28eb269fa1557c98dc651e7ce128094bea51f Mon Sep 17 00:00:00 2001 From: Abhilipsa Sahoo Date: Fri, 15 Jul 2022 17:37:21 +0530 Subject: [PATCH 4/4] Update quality_assurance_test_cases.md --- docs/quality_assurance_test_cases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/quality_assurance_test_cases.md b/docs/quality_assurance_test_cases.md index 6384683..cbb6514 100644 --- a/docs/quality_assurance_test_cases.md +++ b/docs/quality_assurance_test_cases.md @@ -8,9 +8,9 @@ This document contains some examples of test cases for each feature implemented **Notes:** -- Outcome Fail means the test case has no effect in the database, so no changes are done in the data. An error message should be returned. +- Outcome *Fail* means the test case has no effect in the database, so no changes are done in the data. An error message should be returned. -- Outcome Success means that the test case was successful and had an effect in the database, so this change/effect should be reflected in the database. +- Outcome *Success* means that the test case was successful and had an effect in the database, so this change/effect should be reflected in the database. # Access to unrestricted APIs