coffeelint-no-focused-jasmine-specs
CoffeeLint rule to ensure that all your jasmine specs run
Last updated 5 years ago by blamattina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install coffeelint-no-focused-jasmine-specs 
SYNC missed versions from official npm registry.

coffeelint-no-focused-jasmine-specs

Circle CI

Deadlines are looming and you're focusing on getting those last few specs green..

CLEAR TEST RUN. You're done! git add . && git commit -m 'All Done! :zap:'

A few days later someone asks, 'When you run the specs, do only 10 run?' and a knot develops in your throat. You check the project, only to have your worst fears confirmed: You commited an fdescribe block! You remove it to uncover 30 spec failures.

That would never happen to you right? Of course not, this isn't your first rodeo. You're using coffeelint-no-focused-jasmine-specs.

Installation

  1. Setup CoffeeLint in your project and verify that it works
  2. Add this module as a devDependency: npm install -D coffeelint-no-focused-jasmine-specs
  3. Update your coffeelint.json configuration file as described below.
  4. Modify coffeelint to use this custom rule. For example, If you run coffeelint from the command line you might do this coffeelint --rules node_modules/coffeelint-no-focused-jasmine-specs

Configuration

Add the following snippet to your coffeelint.json config:

{
  "no_focused_jasmine_specs": {
    "module": "coffeelint-no-focused-jasmine-specs",
    "level": "warn"
  }
}

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

3 Versions

  • 0.1.0                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |