DOM-less simple JavaScript testing framework
Go to file
ragaskar 07b60547b6 Bump to version 0.4.2 2010-01-27 19:58:54 -08:00
bin Rename jasmine_spec.rb to jasmine_runner.rb to prevent unintended running 2010-01-27 19:57:51 -08:00
generators/jasmine Rename jasmine_spec.rb to jasmine_runner.rb to prevent unintended running 2010-01-27 19:57:51 -08:00
jasmine@b12605274d Bump jasmine version to latest 2010-01-27 19:20:36 -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 jasmine.yaml to jasmine.yml. 2010-01-27 19:50:39 -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 fix markdown 2010-01-26 21:54:51 -08:00
Rakefile Only include jasmine from bin 2009-12-31 16:39:51 -08:00
VERSION.yml Bump to version 0.4.2 2010-01-27 19:58:54 -08:00
install.rb Theoretical rails vendor support 2009-11-25 20:00:18 -08:00
jasmine.gemspec Bump to version 0.4.2 2010-01-27 19:58:54 -08:00

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.