DOM-less simple JavaScript testing framework
Go to file
pivotal 909d5e9a88 Bump version to 0.4.3 2010-01-28 14:04:16 -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@b12605274d Bump jasmine version to latest 2010-01-27 19:20:36 -08:00
lib Bad filepath in simple_config_file caused breakage. Sorry 2010-01-28 14:03:30 -08:00
spec Bad filepath in simple_config_file caused breakage. Sorry 2010-01-28 14:03:30 -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 version to 0.4.3 2010-01-28 14:04:16 -08:00
install.rb Theoretical rails vendor support 2009-11-25 20:00:18 -08:00
jasmine.gemspec Bump version to 0.4.3 2010-01-28 14:04:16 -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.