Permalink
Browse files

Updated README.

  • Loading branch information...
1 parent d64479d commit 459800e298f27d6d7e29353f6a1cb53a1a77f781 @5long committed Oct 17, 2010
Showing with 12 additions and 15 deletions.
  1. +12 −15 README.markdown
View
27 README.markdown
@@ -12,23 +12,20 @@ _CAUTION:_ barely usable now.
## Usage
-### Install
+### Installation
- $ make link
+ $ npm install reut
-### Try
+### Give it a shot
- var TestCase = require("reut").TestCase
- , assert = require("assert")
- , hello = new TestCase("say hello", function(test) {
- test.ok(true, "Ahoi!")
- test.end()
- })
-
- hello.run(function(error, report) {
- if (!error) console.log("I'm done.")
+ $ cat <<EOF >hello.js
+ var reut = require("reut")
+ reut.suite("Say hello!")
+ reut.test("Chinese", function(test) {
+ test.ok(true, "你好")
+ test.end()
})
+ EOF
-### Uninstall
-
- $ make unlink
+ $ node hello.js
+ 1 assertions, 0 failed.

0 comments on commit 459800e

Please sign in to comment.