Skip to content

Releases: connordelacruz/webdriver-test-tools

1.7.0: Automatic test module detection

08 Aug 18:49
Compare
Choose a tag to compare

<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

19 Jun 18:45
Compare
Choose a tag to compare

webdriver_test_tools --init now creates __init__.py files in data/ and pages/ for consistency.

1.6.0: BrowserStack bug fix

15 Jun 17:30
Compare
Choose a tag to compare

Fixed an oversight causing errors in projects where BrowserStack testing wasn't enabled

1.5.0: BrowserStack command line arguments

12 Jun 17:11
Compare
Choose a tag to compare

Added new BrowserStack-related command line arguments

Command Line Arguments:

  • Added --video and --no-video arguments that override BrowserStackConfig settings for capturing video
  • Added --build argument for specifying the build name for the group of tests being run

1.4.0

06 Jun 15:29
Compare
Choose a tag to compare

General clean up of imports, templates, and comments

templates:

  • page_object.py template now imports all from webdriver_test_tools.pageobject. This way, no additional imports need to be made to use a prototype class. Instead, the class will be referenced using the prototypes 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 in BrowserStackConfig docstring

1.3.0: Init bugfix

05 Jun 14:41
Compare
Choose a tag to compare

Fixed issues with webdriver_test_tools --init throwing errors due to template files missing from the package

1.2.0

04 Jun 21:44
Compare
Choose a tag to compare
Fixed a major bug relating to non-python files

Templates were not getting included in MANIFEST.in

1.1.0

23 May 20:08
Compare
Choose a tag to compare

Added --verbosity argument and TestSuiteConfig.DEFAULT_VERBOSITY attribute.

1.0.1

15 May 17:29
Compare
Choose a tag to compare
Bumped release to 1.0.1-alpha and rebuilt docs

1.0.0-alpha

11 May 18:40
Compare
Choose a tag to compare

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 create screenshot/ 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