No commit activity in last 3 years
No release in over 3 years
Based on jasmine.yml, write a jsTestDriver config file to the supplied path.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0.0
~> 0.8.7
~> 2.8.0
< 1.0.0

Runtime

~> 0.99.4
 Project Readme

jasmine-jstd-conf¶ ↑

Based on jasmine.yml, write a jsTestDriver config file to the supplied path.

Installation¶ ↑

Please see rubygems.org/gems/jasmine-jstd-conf

Tutorial¶ ↑

Usage: jasmine-jstd-conf path [--help]

  path        Path to write to.
  --help      Show this help text.

Based on jasmine.yml, write a JSTD config file to the supplied path.

Example:

  $ jasmine-jstd-conf jsTestDriver.conf
  $ cat jsTestDriver.conf
  server: http://localhost:9876

  load:
    - ../relative/path/to/jasmine.js
    - spec/javascripts/support/JasmineAdapter.js
    - spec/javascripts/helpers/jasmine-jquery-1.3.1.js
    - spec/javascripts/FooSpec.js
    - spec/javascripts/BarSpec.js
    - spec/javascripts/BazSpec.js
    - spec/javascripts/QuxSpec.js

Known Issues¶ ↑

There is a bug in Jasmine (not this project) if your YAML parser happens to be Psych. If you are affected by it, you will see an error message like:

lib/ruby/1.9.1/psych.rb:148:in `parse': couldn't parse YAML at line 56 column 5 (Psych::SyntaxError)

The issue is that Psych chokes on some YAML that other parsers do not. In this case, the problem is the asterisk:

spec_files:
  - **/*[sS]pec.js

As a workaround, quote the string values:

spec_files:
  - '**/*[sS]pec.js'

Contributing¶ ↑

  • Run ./configure to set up your build environment

  • Run rake to run specs

  • Please make a pull request with your changes.

  • Please add specs for any new functionality.

See also:

rake --tasks