Django Testing

27 views
Skip to first unread message

Abrar Ahmad

unread,
Mar 31, 2020, 10:33:53 AM3/31/20
to Django users
Hello Sir 
I have trouble in learnig Testing tutorial of Djanog Documentation.
Can any one tell me what is the main concept of learnign test and how can we learn it in easiest way.
I am waiting for reply

ekong, emmanuel

unread,
Mar 31, 2020, 10:36:37 AM3/31/20
to django...@googlegroups.com
I’m having the same difficulty... 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6e807ef4-09b6-459d-9d7f-ddb42931c4d9%40googlegroups.com.

Disclaimer
This e-mail is intended solely for the named recipient. The information contained in this message is strictly confidential.
  • If you are not the named recipient, you are hereby notified that any use, dissemination or reproduction of this document and or its content is prohibited and may be deemed unlawful.
  • If you are not the named recipient of this e-mail, please notify the sender by a return e-mail and delete all copies of it from your computer and mail.
Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be those of Landmark University, to whom no liability shall be attached whatsoever.

Thank you

Lunga Baliwe

unread,
Mar 31, 2020, 2:26:23 PM3/31/20
to django...@googlegroups.com

Jatin Agrawal

unread,
Apr 10, 2020, 6:32:46 PM4/10/20
to Django users
The main reason behind learning about Testing is to check if the views that we have written for, are generating the expected results or not. Suppose you are writing an APIView to get a list of something, then you should write a testcase to check whether that APIView is giving you the result that you are expecting or not.

Suppose a company has manufactured a laptop and then they test it to check if the new laptop design is working as expected or not. In the same way, if you are doing any development work, be it backend development or frontend development, you are supposed to and must write test cases to check if the feature that you have just developed is giving the expected response or not.


I hope, now, the basic idea of testing is clear to you.
Reply all
Reply to author
Forward
0 new messages