diff --git a/test/README.md b/test/README.md index f485530..1305839 100644 --- a/test/README.md +++ b/test/README.md @@ -3,9 +3,8 @@ test Root directory for `trivial` package test cases. -Each folder here contains 2 important files: -- `pass.rkt` : driver for tests exercising intended behavior -- `fail.rkt` : driver for tests that should raise type errors +There should be 2 files for each module `M` in the parent directory. +- `M-pass.rkt` : tests exercising intended behavior +- `M-fail.rkt` : tests that should raise type errors -Run either of these to see a few pass/fail tests. -The scripts `all-X.rkt` in this folder run passing/failing tests. +Run tests for any file with `raco test FILE.rkt`. diff --git a/test/format/fail.rkt b/test/format-fail.rkt similarity index 100% rename from test/format/fail.rkt rename to test/format-fail.rkt diff --git a/test/format/pass.rkt b/test/format-pass.rkt similarity index 100% rename from test/format/pass.rkt rename to test/format-pass.rkt diff --git a/test/regexp/fail.rkt b/test/regexp-fail.rkt similarity index 100% rename from test/regexp/fail.rkt rename to test/regexp-fail.rkt diff --git a/test/regexp/pass.rkt b/test/regexp-pass.rkt similarity index 100% rename from test/regexp/pass.rkt rename to test/regexp-pass.rkt