1.0.7 • Published 9 years ago

jasmine-focused v1.0.7

Weekly downloads
489
License
-
Repository
github
Last release
9 years ago

Jasmine Focused Node Module Build Status

Adds global functions to run only certain Jasmine specs.

The number of f characters in the method name denotes the priority of the describe or it spec.

For example, a fit spec would be run instead of any it specs and a ffit spec would be run instead of any fit or it specs.

This module includes a jasmine-focused executable that wraps jasmine-node allowing you to use the focus functions without adding any additional requires to your spec files.

It passes through all command line flags to jasmine-node.

Installing

npm install jasmine-focused

Building

  • Clone the repository
  • Run npm install
  • Run grunt to compile the CoffeeScript

Using

The following function are provides that wrap the standard it and describe Jasmine functions.

  • fit
  • ffit
  • fffit
  • fdescribe
  • ffdescribe
  • fffdescribe

You can remove all focused specs by running the bundled nof script. This script takes a list of directories and defaults to un-focusing all specs in the spec directory.

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.19.0

10 years ago

0.18.0

10 years ago

0.17.0

10 years ago

0.16.0

10 years ago

0.15.0

11 years ago

0.14.0

11 years ago

0.13.0

11 years ago

0.12.0

11 years ago

0.11.0

11 years ago

0.10.0

11 years ago

0.9.0

11 years ago

0.8.0

11 years ago

0.7.0

11 years ago

0.6.0

11 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago