DOM-less simple JavaScript testing framework
Go to file
Rajan Agaskar 273f429754 Bump version to 0.4.5 2010-02-24 20:02:58 -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 Bad filepath in simple_config_file caused breakage. Sorry 2010-01-28 14:03:30 -08:00
jasmine@0bb7f4bd6a Bump jasmine version to 0.10.1 2010-02-24 20:01:15 -08:00
lib Fix for 'jasmine:ci' task failure with large numbers of src files 2010-02-16 23:54:26 -08:00
spec Add coverage for request handling 2010-02-17 07:32:54 -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 Fix for 'jasmine:ci' task failure with large numbers of src files 2010-02-16 23:54:26 -08: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 version to 0.4.5 2010-02-24 20:02:58 -08:00
install.rb Theoretical rails vendor support 2009-11-25 20:00:18 -08:00
jasmine.gemspec Bump version to 0.4.5 2010-02-24 20:02:58 -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.