jasmine-tagged
v1.1.4
Published
Tag and filter jasmine specs
Downloads
3,068
Keywords
Readme
Jasmine Tagged 
Allows for tagging and filtering of specific Jasmine specs depending on the platform.
Installing
npm install jasmine-taggedBuilding
- Clone the repository
- Run
npm install - Run
gruntto 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)