Skip to content

Commit

Permalink
Document usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
codecop committed Apr 18, 2021
1 parent a216acb commit 90269cc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# assert-scm #
# assert-scm

Minimalist xUnit test framework for Scheme R5RS.

## Usage

`assert.scm` is a minimalist (Gambit) R5RS implementation of xUnit in Scheme style.
There are several assertions available, e.g. `(assert=)` for numbers, `(assert-string=)` and `(assert-raise)`.

To run the self-test:

gsi assert-test.scm
1 change: 1 addition & 0 deletions test_with_chicken.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@rem run self test with Chicken Scheme interpreter
"C:\Program Files (x86)\ChickenScheme\bin\csi.exe" -r5rs-syntax -q -b assert-chicken-test.scm
1 change: 1 addition & 0 deletions test_with_gambit.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@rem run self test with Gambit Scheme interpreter
"C:\Program Files\Gambit\v4.8.1\bin\gsi.exe" -:s assert-test.scm

0 comments on commit 90269cc

Please sign in to comment.