A basic Backbone boilerplate, configured with Webpack, Karma/Mocha+Chai/WebdriverIO+Cucumber, with support for ES6.
- production webpack config
- webpack config consolidation
- setup backbone
git clone http://github.com/mikechau/backbone-webpack-boilerplate.git
cd backbone-webpack-boilerplate && npm install
Selenium must be installed and running in order to run integration tests.
./bin/install/selenium.sh (may need to use sudo)
selenium-standalone start
npm run selenium:install
npm run selenium:start
npm run test
- run integration and unit testsnpm run test:integration
- run only integration tests (WebdriverIO)npm run test:unit
- run only unit tests (karma)