HTTP_200 icon indicating copy to clipboard operation
HTTP_200 copied to clipboard

Write tests for all the apps

Open deshraj opened this issue 9 years ago • 7 comments

deshraj avatar Jan 10 '16 08:01 deshraj

@DESHRAJ can I work on this ?

insomniac12 avatar Jan 29 '16 14:01 insomniac12

@insomniac12 sure you can always pick something :) @DESHRAJ assigning it to @insomniac12 if that's okay :)

shriyanka avatar Jan 29 '16 15:01 shriyanka

@shriyanka :+1: Yeah sure. Go ahead. @insomniac12 Let me know if you need sample tests from my side so that can help you.

deshraj avatar Jan 29 '16 15:01 deshraj

@DESHRAJ yes ,I need the sample tests !!

insomniac12 avatar Jan 30 '16 16:01 insomniac12

@insomniac12 For time being you can refer this link for basic understanding of writing Tests in django: https://docs.djangoproject.com/en/1.9/topics/testing/overview/ http://toastdriven.com/blog/2011/apr/10/guide-to-testing-in-django/ https://realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/ rest @DESHRAJ will provide you with samples.

shriyanka avatar Jan 31 '16 17:01 shriyanka

@shriyanka Thanks.I have read these all . I want to know if there is anything specific or different to be done for the extended user model ??

insomniac12 avatar Jan 31 '16 17:01 insomniac12

@insomniac12 see this http://stackoverflow.com/questions/15073227/django-unit-test-simple-example

You can get started with this for now. I will write some tests as I get time. You should start writing and create a PR so that we can see and make changes as required.

deshraj avatar Feb 01 '16 06:02 deshraj