susannemoog / sauceExtension

Codeception Extension to support automated testing via sauce labs
MIT License
8 stars 7 forks source link

Codeception: sauceExtension

Codeception Extension to support automated testing via sauce labs.

Adds test name, build and status information to saucelabs overview.

Installation

class_name: WebGuy
modules:
    enabled:
        - WebDriver
    config:
      WebDriver:
        url: 'http://www.example.com/'
        port: 80
        wait: 1
        browser: firefox
        restart: true
        capabilities:
          unexpectedAlertBehaviour: 'accept'
          platform: 'Windows 8.1'
          version: '25'

Note: A full working Codeception example is enabled in this package. Create and/or update the codeception.yml and acceptance.suite.yml within the tests/ directory with your SauceLabs username and accesskey.

Note: This package uses the dist feature of Codeception. Configuration information that is safe to distribute to other developers go in a file with dist in the name. Secret files are ignored by the repo and only available locally.

Secret Public
codeception.yml codeception.dist.yml

Refer to this documentation here for further explanation.