0.1.5 • Published 8 years ago

grunt-phantom-jasmine v0.1.5

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

grunt-phantom-jasmine

Run jasmine specs headlessly through PhantomJS.

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-phantom-jasmine --save-dev

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

grunt.loadNpmTasks('grunt-phantom-jasmine');

The "phantom_jasmine" task

Overview

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

grunt.initConfig({
  phantom_jasmine: {
    command: 'vendor/phantomjs-2.1.1-macosx/bin/phantomjs tasks/lib/runjasmine2.js remote url'
  }
});

Run this task with the grunt phantom_jasmine command.

Options

Howto

How to use grunt-phantom-jasmine can be found at testing-grunt-phantom-jasmine.

Release History

  • 2016-10-14   v0.1.5   Include how to use grunt-phantom-jasmine in readme.
  • 2016-10-14   v0.1.2   Official Release.
  • 2016-10-14   v0.1.1   Fixed grunt configuration for finding phantomjs.
  • 2016-09-25   v0.1.0   Work in progress, not yet officially released.
0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago