commit 8c638c2537c28d2fa64365eb74b3e5d1b7e61ddf
parent 4374bef788bf66b379e6c3121e21c0386a136f44
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Wed, 6 Apr 2016 16:54:23 +0200
Improved README
Diffstat:
| M | README.md | | | 33 | ++++++++++++++++++++++++++------- |
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -1,20 +1,35 @@
+[](https://travis-ci.org/jsmaniac/repltest)
+[](https://coveralls.io/github/jsmaniac/repltest)
+[](http://jsmaniac.github.io/travis-stats/#jsmaniac/repltest)
+
REPLtest
========
-This package provides the `#lang repltest` meta-language, which can be used to turn the transcript of an interactive racket session into a series of tests.
+This package provides the `#lang repltest` meta-language, which can be
+used to turn the transcript of an interactive racket session into a
+series of tests.
+
+Installation
+------------
-Usage:
+Install thiw package with:
```
raco pkg install repltest
```
-Then write a file using the repltest meta-language, containing definitions at the top and interactions after the first prompt (by default the prompt is `"> "`, I will add customization options later).
+Usage
+-----
+
+Then write a file using the repltest meta-language, containing
+definitions at the top and interactions after the first prompt (by
+default the prompt is `"> "`, I will add customization options later).
```
#lang debug repltest typed/racket
-;; There is a problem if there is a comment before a prompt, as comments aren't
-;; gobbled-up by the preceeding read.
+;; There is a problem if there is a comment before a prompt, as comments
+;; are not gobbled-up by the preceeding read. This will be fixed in a
+;; later version.
(define x 0)
(define y 1)
'displayed
@@ -34,4 +49,8 @@ Then write a file using the repltest meta-language, containing definitions at th
(+ 2 0) = 2
- : Integer [more precisely: Positive-Byte]
2
-```
-\ No newline at end of file
+```
+
+When the `test` submodule of this file is executed (e.g. with `raco
+test file.rkt`), `repltest` runs the expression after each `> `
+prompt, and check they give the expected result.
+\ No newline at end of file