DOM-less simple JavaScript testing framework
Go to file
ragaskar e5503c98d8 Minor doc update 2010-01-26 21:53:34 -08:00
bin Rename sources.yaml to jasmine.yaml. Add stylesheets support to jasmine yaml. Allow dir glob strings in jasmine.yaml file enumerations 2010-01-26 21:34:03 -08:00
generators/jasmine Rename sources.yaml to jasmine.yaml. Add stylesheets support to jasmine yaml. Allow dir glob strings in jasmine.yaml file enumerations 2010-01-26 21:34:03 -08:00
jasmine@81c2779731 Ffwd jasmine 2009-12-31 09:50:33 -08:00
lib Rename sources.yaml to jasmine.yaml. Add stylesheets support to jasmine yaml. Allow dir glob strings in jasmine.yaml file enumerations 2010-01-26 21:34:03 -08:00
spec Rename sources.yaml to jasmine.yaml. Add stylesheets support to jasmine yaml. Allow dir glob strings in jasmine.yaml file enumerations 2010-01-26 21:34:03 -08:00
.gitignore Ignore bundled gems 2009-12-31 11:31:58 -08:00
.gitmodules Jasmine submodule 2009-10-15 01:40:58 -07:00
Gemfile Rearrange, refactor, ruin and raze. 2009-12-28 12:08:23 -06:00
MIT.LICENSE First crack at jasmine-ruby 2009-10-10 17:44:59 -07:00
README.markdown Minor doc update 2010-01-26 21:53:34 -08:00
Rakefile Only include jasmine from bin 2009-12-31 16:39:51 -08:00
VERSION.yml Version bump to 0.4.1 2010-01-26 21:34:30 -08:00
install.rb Theoretical rails vendor support 2009-11-25 20:00:18 -08:00
jasmine.gemspec Minor doc update 2010-01-26 21:53:34 -08:00

README.markdown

jasmine-ruby

Jasmine Ruby dynamically serves HTML suites for (Jasmine)[http://github.com/pivotal/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.