Core components of mozwebqa's Selenium WebDriver framework
Mozwebqa's WebDriver framework uses 4 external packages (also listed in requirements.txt
). To explain why and how we use them;
py.test
Py.test
A py.test unit testing framework from which we build on to form the browser automation suite.
WebDriver
Selenium WebDriver
WebDriver is an open source software package which controls the browser via commands we send to it. Mozilla is also an active contributor to the WebDriver/Selenium Grid and Python bindings.
mozwebqa py.test plugin
Plugin repository
A plugin developed by davehunt for Mozilla. The plugin expands py.test from a unit testing tool into a Selenium management tool. It is a crucial part of managing command arguments and passing them to WebDriver, Py.test or the test script as required. The plugin also creates HTML reports and screenshots of the test results.
Unittestzero
Unittestzero repository
A python package developed by AutomatedTester for Mozilla. The package wraps native python assertions into bespoke assertion functions for testing, for example asserting sort order of lists.