Skip to content
/ chrome Public

A Docker image of Chrome for headless testing with testx

Notifications You must be signed in to change notification settings

testxio/chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published