GithubHelp home page GithubHelp logo

isabella232 / jasmine-focused Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atom/jasmine-focused

0.0 0.0 0.0 41 KB

Focus Jasmine Specs

Home Page: http://atom.github.io/jasmine-focused

License: MIT License

CoffeeScript 97.31% JavaScript 2.69%

jasmine-focused's Introduction

Jasmine Focused Node Module

OS X Build Status Windows Build Status Dependency 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.

jasmine-focused's People

Contributors

kevinsawicki avatar damieng avatar zcbenz avatar mnquintana avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.