4 posts tagged with django:


Functional tests with lettuce and django test client

     When running a functional test, you fire up “browser” and do the "same" actions as a real user (or API client). There are different “browsers” for testing your applications, some of them are real, like selenium and some of them are less real, like django test client. Depending ...

by Danu | Feb 01, 2013 | Tags: test django selenium lettuce bdd client bs4

Read more


Testing registration scenario against django with lettuce and selenium webdriver

Installation The best way to “understand” is by following a good example, so we prepared a sample project which uses django-registration library in order to have a simple, generic user-registration application for our tests. To play with it, just create a new virtualenv and checkout the sample project on Github. ...

by Danu | Jan 14, 2013 | Tags: webdriver django selenium lettuce bdd

Read more


Testing your django app with webtest

     I’ve been watching both presentations that Carl Meyer held at Pycon 2012/13 and I highly recommend them if you want a deep dive into writing tests with django. They outline some very good principles for writing effective and maintainable tests. They also highlight a suite of test utilities ...

by Danu | Apr 25, 2013 | Tags: django functional webtest integration

Read more


Writing automated tests with Django&Selenium

     Getting our Selenium tests to run faster can be complicated at times, because there are a number of factors to be taken into consideration. Debugging these tests is time consuming and the end result is almost always the same one - a large part of the tests needs ...

by Ramona | Apr 25, 2013 | Tags: testing django selenium

Read more