Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

A Docker image of Chrome for headless testing

To be used with testx.

Dependencies

Make sure you have all required dependencies locally. With testx you'll need at least Protractor and possibly CoffeeScript (for testx 2.x).

Usage

The entry point of the image is npm test, so this:

docker run -it --rm -v $(pwd):/work testx/chrome

will execute npm test in the container.

You can parameterize the execution just like you would an npm run. For example:

docker run -it --rm -v $(pwd):/work testx/chrome -- --baseUrl=http://localhost:3000

will execute tests against http://localhost:3000, assuming npm test runs Protractor.

About

A Docker image of Chrome for headless testing with testx

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.