On Mon, Jul 15, 2013 at 6:10 AM, Luiz A. Menezes Filho <[email protected]> wrote: > Complementing Jonathan's response: you can use django's > LiveServerTestCase[1] instead of the usual TestCase. To access your site as > a browser would do there is selenium [2]. > > Att, > > [1] > https://docs.djangoproject.com/en/dev/topics/testing/overview/#django.test.LiveServerTestCase > [2] http://selenium-python.readthedocs.org/en/latest/api.html
Thanks! I will investigate these. > > On Mon, Jul 15, 2013 at 8:41 AM, Jonathan D. Baker > <[email protected]> wrote: >> >> Check out functional testing with selenium. >> >> Sent from my iPhone >> >> On Jul 15, 2013, at 4:00 AM, Larry Martell <[email protected]> >> wrote: >> >> > There's no way, using the django unit tests, to effect something >> > client side, is there? >> > >> > For example, in one of my django apps the user can filter the data on >> > the client side. This is done with javascript. Using the unit tests, >> > there doesn't seem to be a way I emulate that for testing. How do >> > folks write tests for situations like this? >> > >> > >> > Thanks! >> > -larry >> > >> > -- >> > 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 [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at http://groups.google.com/group/django-users. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > > > -- > Luiz Menezes > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

