How to test django app

35 views
Skip to first unread message

Harjot Mann

unread,
Nov 20, 2013, 12:22:04 AM11/20/13
to django...@googlegroups.com
To test my django app I got unittest module in Django but what I am
notiing that it needs to create tests for the functions in views.py
file. So I need to do lot of coding. Is there any another way to do
testing or this is the only best way to do it?
Is anyone using it or can he/she share their experience. I need it urgently.

--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/

Pepsodent Cola

unread,
Nov 20, 2013, 6:20:40 AM11/20/13
to django...@googlegroups.com
I'm interested in this topic too.

Tom Evans

unread,
Nov 20, 2013, 6:26:18 AM11/20/13
to django...@googlegroups.com
On Wed, Nov 20, 2013 at 5:22 AM, Harjot Mann <harjotm...@gmail.com> wrote:
> To test my django app I got unittest module in Django but what I am
> notiing that it needs to create tests for the functions in views.py
> file. So I need to do lot of coding. Is there any another way to do
> testing or this is the only best way to do it?
> Is anyone using it or can he/she share their experience. I need it urgently.
>

This is to be expected - in order to effectively test your code, you
need to write effective tests, which takes time.

The more tests you write, the better you will become at writing your
code in ways that make it easier to test.

Cheers

Tom

bobhaugen

unread,
Nov 20, 2013, 10:41:49 AM11/20/13
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages