Skip to content

Commit

Permalink
Fix the 'How to Run Unit Tests' part in the README.md file. Fix issue e…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gimi Liang committed May 30, 2011
1 parent 6a1e2f7 commit 231f4b1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# How to Run Unit Tests

cd amber
spade update
spade preview
1. Install Ruby and Rubygems. There are many resources on the web can help you to do so, one of the best ways may be [rvm](http://rvm.beginrescueend.com/).

2. Install spade. Follow instructions on [its project page](http://github.com/strobecorp/spade).

3. Install sproutcore-preprocessor via `spade install sproutcore-preprocessor`.

3. Enter the following commands in your command shell:

cd sproutcore20
spade update
spade preview

Then visit: http://localhost:4020/tests.html?package=PACKAGE_NAME. Please 'PACKAGE_NAME' with the name of the package you want to run. For example:
4. Then visit: http://localhost:4020/tests.html?package=PACKAGE_NAME. Replace 'PACKAGE_NAME' with the name of the package you want to run. For example:

* [SproutCore Runtime](http://localhost:4020/tests.html?package=sproutcore-runtime)
* [SproutCore Views](http://localhost:4020/tests.html?package=sproutcore-views)
Expand Down

0 comments on commit 231f4b1

Please sign in to comment.