3.3.0 • Published 8 years ago
bedrock-protractor v3.3.0
bedrock-protractor
A bedrock module that integrates the protractor test framework for AngularJS applications with bedrock.
Requirements
- npm v3+
Quick Examples
npm install bedrock-protractor
var bedrock = require('bedrock');
var cfg = bedrock.config.protractor.config;
// add protractor tests for your module/project to your config file
cfg.suites['bedrock-foo'] = '/foo/test/tests/**/*.js';
// add a script to run to define helper functions prior to tests
cfg.params.config.onPrepare.push('/foo/test/helpers/bar.js';
To run tests on the command line:
node myproject.js test --framework protractor
Setup
- For debian-based systems (eg: Ubuntu), install openjdk-7-jdk.
Configuration
For more documentation on configuration, see config.js.