node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

galenframework-cli

Galenframework CLI

License npm version Dependency Status devDependency Status Coverage Status

Galen allows automated testing of look and feel for your responsive websites.

The command line tool to use Galen. This includes the wrapper above and webdriver downloads for different browsers NPM

Feel free to donate

Click here to lend your support to: NPM packages and make a donation at pledgie.com ! Or donate Bitcoins: Bitcoin

Also via greenaddress

Installation

You must have Java 6+ installed.

(sudo) npm install -g galenframework-cli

Or the develop build, which maybe not be stable

(sudo) npm install -g galenframework-cli@next

If you want to enable tab completion on Linux, run

galen completion >> ~/.~/.bashrc or galen completion >> ~/.~/.zshrc

On Mac OS X, run

galen completion >> ~/.~/.profile

In case of errors within Ubuntu/Debian, e.g.

sh: 1: node: not find

Then you need to install nodejs-legacy:

(sudo) apt-get install nodejs-legacy

Advanced Usage

Debugging

If you need to debug the tests use the node-inspector:

NODE_DEBUG=galen node --debug-brk node_modules/galenframework-cli/bin/galen
node-inspector --web-port=8282

You can then open chrome at http://127.0.0.1:8282/?port=5858 for debugging.

If you want to have verbose logging add NODE_DEBUG=galen:

NODE_DEBUG=galen node --debug-brk node_modules/galenframework-cli/bin/galen

Author

Martin Reinhardt

Martin Reinhardt

Thanks for Obvious and their PhantomJS project for heavy inspiration! Check their project on Github.