@aofl/wdio
@aofl/wdio is an end to end testing framework that serves as a wrapper for WebDriverIO's test framework. Our package is application agnostic, but additional commands for interacting and testing Web Components have been added to reflect the bulk of testing
Last updated 18 days ago by ariankhosravi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @aofl/wdio 
SYNC missed versions from official npm registry.

@aofl/wdio

@aofl/wdio is an end to end testing framework that serves as a wrapper for WebDriverIO's test framework. Our package is application agnostic, but additional commands for interacting and testing Web Components have been added to reflect the bulk of testing we do here. Setup is easy and you can start writing tests for your application within minutes of installing this package.

Installation

  1. Run the following command in your application.
npm i -D @aofl/wdio
  1. {Placeholder for running the aoflwdio init command}
  2. In the .aoflwdio.js file created by the aoflwdio init command, setup your applications config options
    • This file serves as your configuration file for defining your test runner options.
    • Configurations such as device capabilities, logging, and others are defined in this file
    • Refer to https://webdriver.io/docs/options.html for a breakdown of options for this file.
  3. Your all set! Start writing your tests!

Usage

Once your .aoflwdio.js has been updated with your applications config options, and your test specs have been written, simply run:

aoflwdio run-test

Help

You can use the help command at program level and at command level.

program level

$ aoflwdio --help

#  Usage: aoflwdio [options]
#
#  Options:
#
#    -V, --version          output the version number
#    -h, --help             output usage information
#
#  Commands:
#
#    init                Initializes an aoflwdio project
#    run-test <options>  Download an npm module into your project
#    help [cmd]          Display help for [cmd]
#
#  Examples:
#
#    aoflwdio --help
#    aoflwdio run-test

Command level

$ aoflwdio help g

#  Usage: aoflwdio run-test [options]
#
#  Options:
#
#    -h, --help             output usage information
#    -w, --watch            Watches for filesystem changes
#    --suite [suiteName]    Run specific test suites
#    --spec [path]          Run specific test spec files
#    --debug                Sets logging to verbose globally
#    --config [path]        Specify the path to the config file.
#
#  Examples:
#
#    aoflwdio help
#    aoflwdio run-test --suite login
#    aoflwdio run-test

Presets

(wip)

Page and Element Docs

(wip)

Addtional Information

WebDriver.io has a great ecosystem of plug-ins and services that extend the functionality of the WebDriver.io test runner. For our purposes, we provide support for only a subset of those services. The following services are supported by @aofl/wdio:

Appium Service (Tentative)
Selenium Service
Intercept Service
Applitools Service (Tentative)
Crossbrowsertesting Service (Tentative)
Browserstack Service (Tentative)
Sauce Service (Tentative)

WebDriver's Documentation

WebDriver.io Guide
WebDriver.io API Documentation

Current Tags

  • 3.9.0-alpha.0                                ...           alpha (21 days ago)
  • 3.5.0-beta.22                                ...           beta (3 months ago)
  • 3.9.0                                ...           latest (18 days ago)

32 Versions

  • 3.9.0                                ...           18 days ago
  • 3.8.1                                ...           21 days ago
  • 3.9.0-alpha.0                                ...           21 days ago
  • 3.8.0                                ...           21 days ago
  • 3.6.1                                ...           3 months ago
  • 3.5.0                                ...           3 months ago
  • 3.5.0-beta.22                                ...           3 months ago
  • 3.5.0-beta.21                                ...           3 months ago
  • 3.5.0-beta.20                                ...           3 months ago
  • 3.5.0-beta.19                                ...           3 months ago
  • 3.5.0-beta.18                                ...           3 months ago
  • 3.5.0-beta.17                                ...           3 months ago
  • 3.5.0-beta.16                                ...           3 months ago
  • 3.5.0-beta.15                                ...           3 months ago
  • 3.5.0-beta.14                                ...           3 months ago
  • 3.5.0-beta.13                                ...           3 months ago
  • 3.5.0-beta.12                                ...           3 months ago
  • 3.5.0-beta.11                                ...           3 months ago
  • 3.5.0-beta.10                                ...           3 months ago
  • 3.5.0-beta.9                                ...           3 months ago
  • 3.5.0-beta.8                                ...           3 months ago
  • 3.5.0-beta.7                                ...           3 months ago
  • 3.5.0-beta.6                                ...           3 months ago
  • 3.5.0-beta.5                                ...           3 months ago
  • 3.5.0-beta.4                                ...           3 months ago
  • 3.5.0-beta.3                                ...           3 months ago
  • 3.5.0-beta.2                                ...           3 months ago
  • 3.5.0-beta.1                                ...           3 months ago
  • 3.5.0-beta.0                                ...           3 months ago
  • 3.4.1-beta.2                                ...           4 months ago
  • 3.4.1-beta.1                                ...           4 months ago
  • 3.4.1-beta.0                                ...           4 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 33
Last Month 163
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |