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

Create test cases docs table for GET /categories/{id}/sections #214

Open
4 tasks
Rahulm2310 opened this issue Apr 10, 2021 · 14 comments · May be fixed by #253
Open
4 tasks

Create test cases docs table for GET /categories/{id}/sections #214

Rahulm2310 opened this issue Apr 10, 2021 · 14 comments · May be fixed by #253
Assignees
Labels
Category: Documentation/Training Improvements or additions to documentation. Category: Quality Assurance Changes to code or files that improve testing or fixes bugs. First Timers Only Good for newcomers. Open Source Hack

Comments

@Rahulm2310
Copy link
Contributor

Description

As a developer or tester,
I need to know some test cases examples,
so that I can have an idea of how I can test the app.

Creating test cases will help everyone understand how to use the API.

References:

Acceptance Criteria

Update [Required]

  • Create quality assurance documentation on /docs folder.
  • Create test cases documentation table for GET /categories/{id}/sections API endpoint.

Definition of Done

  • All of the required items are completed.
  • Approval by 1 mentor.

Estimation

30 mins

@Rahulm2310 Rahulm2310 added Category: Documentation/Training Improvements or additions to documentation. Category: Quality Assurance Changes to code or files that improve testing or fixes bugs. First Timers Only Good for newcomers. Open Source Hack Status: Available Issue was approved and available to claim or abandoned for over 3 days. labels Apr 10, 2021
@Krishna841
Copy link

@Rahulm2310 I wish to work on this issue and solve it... Can you guide me??
A brief explanation of the task that I have to perform will be extremely helpful.
Thanks

@Rahulm2310
Copy link
Contributor Author

Rahulm2310 commented Apr 23, 2021

@Krishna841 You can refer to the references provides in the issue description. You need to create quality assurance documentation similar to how it is done here and add a table of test cases for GET /categories/{id}/sections endpoint similar to this.
image

Let me know when you are ready and I will assign you ☺️.

@Krishna841
Copy link

@Rahulm2310 I got the documentation part but I want some more clarification in making the table. In the table, we need to think of different possible test cases and their outcomes, right? If so, can you explain what "GET /categories/{id}/sections" means so that I can think which test cases would be possible?
Thank you very much.
Also, I'm ready to take this project, kindly assign me this one.

@annabauza
Copy link
Contributor

@Rahulm2310 please reply ☝️

@Rahulm2310
Copy link
Contributor Author

Rahulm2310 commented Apr 26, 2021

@Krishna841 GET /categories/{id}/sections is an api endpoint that returns an array of sections({id,title}) related to a category with category id=id .
For example we have the following categories:
image

Now, when I make a GET request to /categories/1/sections i.e. sections related to category 1, I get:
image

Feel free to play around with the Swagger UI. For more info, have a look at the database design as well as the Response Data Structure. Hope it helps 🙂

Assigning you 🎉. Happy testing and documenting!

@Krishna841
Copy link

@Rahulm2310 Can you tell me how to test the api?

@Krishna841
Copy link

I'm so sorry I won't be able to fix the issue...U can remove me from this issue @Rahulm2310

@Rahulm2310
Copy link
Contributor Author

Okay. No worries @Krishna841. Thanks anyway 😊

@abhasal
Copy link

abhasal commented Feb 9, 2022

Hi, Is this issue still available to work on?

@Tahanima
Copy link

Tahanima commented Jul 1, 2022

Hi
Can I work on this issue?

@vj-codes
Copy link
Member

vj-codes commented Jul 1, 2022

@Tahanima assigning you
Happy coding!

@Tahanima
Copy link

Tahanima commented Jul 1, 2022

@vj-codes, thank you so much for such a quick response!

@Tahanima Tahanima linked a pull request Jul 1, 2022 that will close this issue
4 tasks
@vj-codes vj-codes removed the Status: Available Issue was approved and available to claim or abandoned for over 3 days. label Jul 2, 2022
@KerinPithawala
Copy link

Can I work on this issue?

@makifyegin
Copy link

@Tahanima assigning you
Happy coding!

Can ı join in ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Documentation/Training Improvements or additions to documentation. Category: Quality Assurance Changes to code or files that improve testing or fixes bugs. First Timers Only Good for newcomers. Open Source Hack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants