0.2.6 • Published 10 years ago

grunt-zombie v0.2.6

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

grunt-zombie

Run Zombie JS tests from Grunt

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-zombie --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-zombie');

The "zombie" task

Overview

In your project's Gruntfile, add a section named zombie to the data object passed into grunt.initConfig().

grunt.initConfig({
  zombie: {
    options: {
      targetfiles: "path/to/target/testfile.js"
    },
  },
});

Options

options.targetfiles

Type: String Default value: no default value you must specify this

A string value pointing to the test you would like to run.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

  • 0.2.6: Added Improved output, errors and prettiness.
  • 0.2.1: Fixed repeated error printing
  • 0.2.0: Documentation update - fully working version, added roadmap
  • 0.1.5: (RC 0.2.0) Fully working version
  • 0.1.4:
  • 0.1.3:
  • 0.1.2:
  • 0.1.1:
  • 0.1.0: Initial Release

Roadmap for 0.3.0

  • add passing a directory or array of files and loop through accordingly
  • add improved ('prettified') output
  • add a 'build test task' that accepts a url (default to localhost/directory) that checks for JS console errors
  • any other suggestions? File an issue...
0.2.6

10 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago