Skip to content
This repository

Jasmine ruby gem

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 generators
Octocat-spinner-32 jasmine @ 9a5b46f
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT.LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION.yml
Octocat-spinner-32 install.rb
Octocat-spinner-32 jasmine.gemspec
README.markdown

jasmine-ruby

Jasmine Ruby dynamically serves HTML suites for Jasmine

To use:

(sudo) gem install jasmine

Post-installation:

For Rails support, use

script/generate jasmine

For other projects, use

jasmine init

After initializing a project, you may

rake jasmine

to set up a server. Opening localhost:8888 in a web browser will now run your jasmine specs.

You may also

rake jasmine:ci

which will run your Jasmine suites using selenium and rspec. This task is suitable for running in continuous integration environments.

Simple Configuration:

Customize spec/javascripts/support/jasmine.yaml to enumerate the source files, stylesheets, and spec files you would like the Jasmine runner to include. You may use dir glob strings.

It is also possible to add overrides into the spec/javascripts/support/jasmine_config.rb file directly if you require further customization.

Something went wrong with that request. Please try again.