pytest_sauce, a helpful companion to your selenium tests written in pytest

Posted: [Source]
Tags:  pytest python saucelabs selenium

Last week, our team at Clearcode has released package to PyPI, that takes most of the tedious tasks when writing and running selenium tests of Ones shoulder. It main tasks is to take prepared configuration file, which tells paytest_sauce what tests and what browser should the tests be run in, and then run them. But that's not all.

If it detects a chrome browser in test browser suite, it acquires a chromedriver, and then uses it to actually run your tests. So you no longer need to worry about getting it yourself. And since pytest_mozwegqa starts selenium server for you, all you need to worry about, are tests.

pytest_sauce also provides methods to download and run Saucalabs-Connect, to run tests remotely on Saucelabs in such exotic environments like Windows ;)

Links:

I must say, I enjoy working at company, that cares about sharing with OpenSource community.

Comments powered by Disqus