django-liveserver 0.1a-2

A backport of the Django 1.4 LiveServerTestCase for 1.3
Django LiveServer

A simple backport/extraction of the Django 1.4a LiveServerTestCase. Use selenium, splinter, or other browser clients for advanced functional testing. Credit goes to the Django core developers and extracted code comes from

Quick Start
First install using pip or

`pip install django-liveserver`

Install selenium or another browser testing framework:

`pip install selenium`

Create your own test case. Here is an example:

from django_liveserver.testcases import LiveServerTestCase
from selenium.webdriver.firefox.webdriver import WebDriver

class MySeleniumTests(LiveServerTestCase):
    fixtures = ['test-data.json']

    def setUpClass(cls):
        cls.selenium = WebDriver()
        super(MySeleniumTests, cls).setUpClass()

    def tearDownClass(cls):
        super(MySeleniumTests, cls).tearDownClass()

    def test_hello(self):
        self.assertIn("Hello World", self.selenium.title)


Since this code extraction, the 1.4 code has changed and this version might not include some useful improvements.


Alec Koumjian


File Type Python Version Uploaded On Downloads
django_liveserver-0.1a_2-py2.7.egg Egg 2.7 March 3, 2012 2,312
django-liveserver-0.1a-2.tar.gz Source March 3, 2012 12,788
Version Release Date
0.1a-2 March 3, 2012
0.1a-1 March 3, 2012
0.1a March 3, 2012
Date Package Version Action
Aug. 26, 2015, 12:15 a.m. django-liveserver 0.1a Release Created
Aug. 26, 2015, 12:15 a.m. django-liveserver 0.1a-2 Release Created
Aug. 26, 2015, 12:15 a.m. django-liveserver 0.1a-1 Release Created
Aug. 26, 2015, 12:15 a.m. django-liveserver Package Created