jasmine-focused
Focus jasmine specs
Last updated 5 years ago by kevinsawicki .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install jasmine-focused 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.7                                ...           latest (5 years ago)

26 Versions

  • 1.0.7                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.19.0                                ...           6 years ago
  • 0.18.0                                ...           6 years ago
  • 0.17.0                                ...           6 years ago
  • 0.16.0                                ...           6 years ago
  • 0.15.0                                ...           7 years ago
  • 0.14.0                                ...           7 years ago
  • 0.13.0                                ...           7 years ago
  • 0.12.0                                ...           7 years ago
  • 0.11.0                                ...           7 years ago
  • 0.10.0                                ...           7 years ago
  • 0.9.0                                ...           7 years ago
  • 0.8.0                                ...           7 years ago
  • 0.7.0                                ...           7 years ago
  • 0.6.0                                ...           7 years ago
  • 0.5.0                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
  • 0.3.0                                ...           7 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 5
Last Month 55
Dependencies (3)
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |