django-nose-selenium

A nose plugin to run selenium tests with Django
Download

django-nose-selenium Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Pascal Hartig
  • Publisher web site:
  • http://weluse.de

django-nose-selenium Tags


django-nose-selenium Description

A nose plugin to run selenium tests with Django django-nose-selenium is a Django app to run selenium smoothly with nose.Django SettingsThe plugin supports the following settings: * SELENIUM_HOST, default: 127.0.0.1 * SELENIUM_PORT, default: 4444 * SELENIUM_BROWSER_COMMAND, default: chrome * SELENIUM_URL_ROOT, default: http://127.0.0.1:8000 * FORCE_SELENIUM_TESTS, default: False. By default, SocketErrors cause the tests to be skipped. This options causes the tests to fail when the Selenium server is unavailable.UsageDefine the class variable selenium_test = True in your nose test class and run nosetests --with-selenium. You can use self.selenium to access a selenium instance with the given options:class TestSelenium(TestCase): selenium_test = True def test_start(self): """Tests the start page.""" self.selenium.open("/") Requirements: · Python · Django


django-nose-selenium Related Software