Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

atom/jasmine-tagged

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our official announcement

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)

About

Tag and filter jasmine specs

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •