Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add qa doc including test case for GET/categories/all #260

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/quality_assurance_test_cases.md
Original file line number Diff line number Diff line change
@@ -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 |