Boilerplate for bdd / tdd / testing with Tape + Testem + Webpack + Babel + React
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.gitignore
README.md
index.html
package.json
run-test-animated.gif
server.js
testem.json
webpack.config.js
webpack.production.config.js
webpack.test.bootstrap.js
webpack.test.config.js

README.md

React-Testing-Webpack-Tape

Boilerplate for bdd / tdd / testing with Tape + Testem + Webpack + React

recompiles + re-runs test on file updates!

Installation

npm install //install dependencies

Usage

npm start //start webpack-dev-server with react-hot-loader

Open another terminal tab and then :

npm test //start testem + tape

Dependencies

tape - tap-producing test harness for node and browsers

testem - test runner

webpack - a bundler for JavaScript

webpack-dev-server - updates browsers on changes

react - View for our app

react-hot-loader - used for hot reloading

babel - compiler for converting ES6

Not quite right?

I'm unsure if the use of glob to compile my tests is the fastest way pretty sure there should be a way with webpack. Feel free to contribute or open issues if you spot errors =)