A sample test project using testx
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keywords
objects
scripts
spec made the project leaner and added documentation Jan 18, 2017
.gitignore
README.md updated the docs Jun 29, 2018
conf.coffee
package-lock.json
package.json renamed scripts; fixed test:display script Jun 29, 2018

README.md

testx quickstart

This project is meant to serve as a starting point for keyword driven tests with testx.

Prerequisites

Make sure you have Node.js installed on your machine. To run selenium server locally (not really necessary for dev/testing) you'll need java as well.

Installation

Clone this project.

Install all dependencies. In the project directory do:

npm install

Run

From within the project directory:

protractor conf.coffee

or

npm test

This run uses Chrome headless mode. If you want to see what is going on, do:

npm run test:display

Run with Docker

This method is recommended when executing your tests as part of a continuous integration pipeline. When using Docker you do not need protractor installed on your machine (or the CI server), but of course you need Docker.

npm run test:docker

Next steps

Check the testx documentation documentation to find out where to go from here.