Permalink
Browse files

Fix the 'How to Run Unit Tests' part in the README.md file. Fix issue #4

.
  • Loading branch information...
1 parent 6a1e2f7 commit 231f4b16378c9315e9eb8e560a48dc1a2972a553 Gimi Liang committed May 30, 2011
Showing with 12 additions and 4 deletions.
  1. +12 −4 README.md
View
@@ -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)

0 comments on commit 231f4b1

Please sign in to comment.