anitab-forms-backend
anitab-forms-backend copied to clipboard
Create unit test for Create a Form API
Description
As a developer, I need have unit tests for each functionality, so that I can be confident when building a new feature, that there are no regression on the platform.
API: POST /api/form
The idea is to come with 3 unit tests to test this API. You may have to mock some information to properly test it.
Resources:
- Writing tests for Django projects: resource 1 and resource 2
- Postman documentation about this specific API: https://documenter.getpostman.com/view/11324046/Szzoaw1q?version=latest#fae4122b-fd56-4aeb-9771-97b05ff40a82
Acceptance Criteria
Update [Required]
- [ ] Create 3 unit tests for
POST /api/form
API
Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.
Estimation
4 hours
Hey @isabelcosta @codesankalp , can I take this issue?
@isabelcosta can I work on this issue ?
@isabelcosta Can I add unit test and work on this issue?
According to order, I will assign to @AnubhavHooda . If there is no updates within 3 days I can assign it to you @b-thebest :)
Umm.. @isabelcosta According to order, I guess I asked it first, though there is no problem but still you gave it to the one who asked it secondly.
@Rahulm2310 @codesankalp
@sahil9001, As you are assigned to another issue, You can't be assigned to a new issue according to community contributing guidelines. You will get more issues to solve in the future. Don't worry much more about this.
Any updates on this @AnubhavHooda ?
Hey @isabelcosta could I take up this issue ?
@AnubhavHooda Please update your progress? Or you want to unassign yourself?
According to order, I will assign to @AnubhavHooda . If there is no updates within 3 days I can assign it to you @b-thebest :)
Looking forward to work on this issue as there is no update from @AnubhavHooda
Unassigning @AnubhavHooda for not updating about the progress. Assigning @sahil9001. Happy Coding :rocket:
@codesankalp @isabelcosta I apologize for the inconvenience caused due to me not updating about my progress.
Hey @AnubhavHooda ! I think I won't be able to do this because of my exams, schedule is quite hectic, Can you take it?
@isabelcosta Please assign me as @sahil9001 is unable to continue with this issue