This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,37 @@ | ||
jasmine-ruby | ||
============ | ||
|
||
git clone git://github.com/ragaskar/jasmine-ruby.git | ||
cd jasmine-ruby | ||
rake jeweler:build | ||
rake jeweler:install | ||
cd .. | ||
mkdir test-jasmine | ||
cd test-jasmine | ||
jasmine init | ||
rake jasmine | ||
Jasmine Ruby dynamically serves HTML suites for (Jasmine)[http://github.com/pivotal/jasmine] | ||
|
||
then | ||
To use: | ||
|
||
http://localhost:8888 | ||
`(sudo) gem install jasmine` | ||
|
||
and go! | ||
Post-installation: | ||
|
||
After a few more touch-ups, I'll update the gemcutter.org gem ... | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters