Case

A suite is a singular test case to be run.

name

required false
type string
default “”

The name of the case. This will be output for reference of the current test being run.

Example

name: "Hello World Test"
location: "http://www.google.com.au"
browser: "phantomjs"

location

required true
type string
default “”

The url location to initially load for the page.

Example

name: "Hello World Test"
location: "http://www.google.com.au"
browser: "phantomjs"

browser

required true
type string
default “phantomjs”

The browser to run the tests for.

Example

name: "Hello World Test"
location: "http://www.google.com.au"
browser: "phantomjs"

steps

required false
type [] Step
default nil

The steps to run for the case.

assertions

required false
type [] Assertion
default nil

The assertions to run at the end of the case.