Skip to main content

pytest_sauce provides sane and helpful methods worked out in clearcode to run py.test tests with selenium/saucelabs

Project description

Latest documentation

pytest_sauce is a pytest wrapper, that makes it easier to configure and run selenium tests both locally and on saucelabs with pytest.

It contains methods to:

  • download and run saucelabs connector

  • download chromedriver

  • run tests on multiple browsers

  • if chrome found within browser set to have tests run, checks and downloads chromedriver.

So far, this package provides only methods, that you have to use within your own tasks to run tests. But in the future, it’ll provide at least one method to run tests depend on configuration file.

All these tasks requires is argument with yaml config location

Latest PyPI version Number of PyPI downloads

CHANGES

current

  • upgrade Saucelab Connect to v4.3. It’s not backward compatible with previous versions.

0.2.10

  • changed os.rename to shutil.move. Fixes moving files between partitions. [fizyk]

0.2.8

  • various package description improvements

  • excludes buggy pymlconf requirement

0.2.6

  • default chromedriver version bumped to 2.2

  • xvfb-run mode now starts with auto-servernum parameter by default

0.2.5

  • run_tests returns error code from latests test

0.2.4

  • public release

0.2.3

  • fixed xvfb turning off option

  • change default option to not download Saucelabs everytime

  • ability to replace pdb with ipdb

0.2.2

  • ability to set xvfb-run settings

0.2.0

  • ability to run standard py.test tests with config

0.0.0

  • initialize package [sliwinski]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_sauce-0.3.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file pytest_sauce-0.3.tar.gz.

File metadata

  • Download URL: pytest_sauce-0.3.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest_sauce-0.3.tar.gz
Algorithm Hash digest
SHA256 816f914b6a0ed4293f708a2b42d3e802251b9f2b9c3ab818ccccf21043925d3c
MD5 ea09637c1340c284363eef79b0cd89d2
BLAKE2b-256 ddabba7e3b98e6cb34f92acce51c8a0da68f8409c36be928955857f8df266ef9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page