Skip to content

A front end template with headless testing using Mocha/Chai/Karma and Gulp task runners for image optimization, javascript concatenation, and sass compiling

Notifications You must be signed in to change notification settings

jacksonhoose/TaskRunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jackson's Task Runner

A template for running important frontend tasks and testing with Karma/Mocha/Chai

Setup

  • Run npm install -g gulp
  • Run npm install
  • Run gulp to run your specs
  • You may need to install karma and mocha globally with npm install -g karma mocha

Karma

  • Autowatch files with Karma by running karma start
  • There is a files array that specifies which folders/specs to include when launching Phantom. Make sure you include your scripts before your tests.

Gulp

  • Auto watch all your files (the default task) by running gulp
  • Run specific tasks by running gulp [task-name] ie. gulp test which will run your testing suite once.

About

A front end template with headless testing using Mocha/Chai/Karma and Gulp task runners for image optimization, javascript concatenation, and sass compiling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published