diff options
Diffstat (limited to 'bs/test.scm')
-rw-r--r-- | bs/test.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bs/test.scm b/bs/test.scm new file mode 100644 index 0000000..9152760 --- /dev/null +++ b/bs/test.scm @@ -0,0 +1,16 @@ +;; a testing framework for scheme +;; inspired by clojure.test and srfi-64 + +(define-module (bs test) + #:use-module ((bs core) + #:select (prn)) + #:export (testing)) + +;; TODO: learn srfi-64 +;; TODO: port over `deftest' et al from clojure +;; TODO: someday a quickcheck-like would be best + +;; simple analog to clojure's `testing' +(define-syntax testing + ((_ description ...) + ((begin (prn description) ...)))) |