Releases: connordelacruz/webdriver-test-tools
Releases · connordelacruz/webdriver-test-tools
1.7.0: Automatic test module detection
<test_package>.tests.__init__
now autodetects test modules, so manual importing is no longer required.
Details
- Template
__init__.py
file now detects and imports submodules automagically (based on this blog post. No need to import new tests every time a new one is added test_loader
ignores<test_package>.tests.pkgutil
if present while loading test modules.
1.6.1
webdriver_test_tools --init
now creates __init__.py
files in data/
and pages/
for consistency.
1.6.0: BrowserStack bug fix
Fixed an oversight causing errors in projects where BrowserStack testing wasn't enabled
1.5.0: BrowserStack command line arguments
Added new BrowserStack-related command line arguments
Command Line Arguments:
- Added
--video
and--no-video
arguments that overrideBrowserStackConfig
settings for capturing video - Added
--build
argument for specifying the build name for the group of tests being run
1.4.0
General clean up of imports, templates, and comments
templates:
page_object.py
template now imports all fromwebdriver_test_tools.pageobject
. This way, no additional imports need to be made to use a prototype class. Instead, the class will be referenced using theprototypes
module (e.g.prototypes.FormObject
). This also makes it clearer where the prototype classes originate from- Fixed indentation in
setup.py
template - Fixed reference to
BrowserConfig
inBrowserStackConfig
docstring
1.3.0: Init bugfix
Fixed issues with webdriver_test_tools --init
throwing errors due to template files missing from the package
1.2.0
Fixed a major bug relating to non-python files Templates were not getting included in MANIFEST.in
1.1.0
Added --verbosity
argument and TestSuiteConfig.DEFAULT_VERBOSITY
attribute.
1.0.1
Bumped release to 1.0.1-alpha and rebuilt docs
1.0.0-alpha
Screenshots:
- Added
WebDriverTestCase.screenshotOnFail()
, a test method decorator that takes a screenshot if an assertion fails - Added
WebDriverConfig.SCREENSHOT_PATH
, which defaults to<test_package>/screenshot/
- Updated
project.initialize
to createscreenshot/
directory
Project Metadata:
- Added
__about__
module, which contains attributes with metadata about the project - Updated
setup.py
and other modules that use common metadata strings to pull from__about__
attributes - Removed
version
submodule as it was redundant
Bug Fixes:
- Fixed bug with test generation for test classes without docstrings