Netherworld's Pretend Minibar
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

jasmine-tagged

1.1.4 • Public • Published

Jasmine Tagged Build Status

Allows for tagging and filtering of specific Jasmine specs depending on the platform.

Installing

npm install jasmine-tagged

Building

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

Using

  describe "Javascript"->
    describe "on the #server"->
      it "can access files"
    describe "on the #browser"->
      it "can access localstorage"

In jasmine-helper.js

require 'jasmine-tagged'
 
jasmineEnv = jasmine.getEnv()
jasmineEnv.setIncludedTags(["browser"])
 
# By default untagged specs are run, uncomment to change that behavior 
# jasmineEnv.includeSpecsWithoutTags(false) 

Keywords

none

install

npm i jasmine-tagged

Downloadsweekly downloads

538

version

1.1.4

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability