doc updated
This commit is contained in:
parent
c473fb5a2a
commit
ba5e7f102f
17
index.md
17
index.md
@ -234,7 +234,22 @@ If you don't want this behavior, pass in `--no-full-run` and filtered runs will
|
||||
You can call the runner from Ruby:
|
||||
|
||||
{% highlight ruby %}
|
||||
require 'jasmine/headless/runner'
|
||||
|
||||
status_code = Jasmine::Headless::Runner.run(
|
||||
:colors => false,
|
||||
#=> true to get colors
|
||||
:remove_html_file => true,
|
||||
#=> false to keep specrunners on failure
|
||||
:jasmine_config => 'spec/javascripts/support/jasmine.yml',
|
||||
#=> run a different config
|
||||
:report => false,
|
||||
#=> filename if a report file should be written
|
||||
:full_run => true,
|
||||
#=> false to not run a full run after a targeted run
|
||||
:files => ['file_one_spec.js', 'file_two_spec.coffee']
|
||||
#=> files to use for a targeted run, [] to run all
|
||||
)
|
||||
{% endhighlight %}
|
||||
|
||||
## Automated testing during development
|
||||
@ -243,7 +258,7 @@ You can call the runner from Ruby:
|
||||
If you use [Guard](https://github.com/guard/guard/), install [`guard-jasmine-headless-webkit`](http://github.com/guard/guard-jasmine-headless-webkit/)
|
||||
and run `guard init jasmine-headless-webkit` to add the necessary bits to your `Guardfile` to test a Rails 3.1 (or a well-structured Rails 3.0) app.
|
||||
|
||||
Support for Autotest is deprecated and no new features will be added to the Autotest runners unless provided by other users.
|
||||
Support for Autotest is *deprecated* and no new features will be added to the Autotest runners unless provided by other users.
|
||||
|
||||
## Rake tasks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user