blob: 5d5a2c6941d8f19035819ea7141e556e177b5de7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
;; a testing framework for scheme
;; inspired by clojure.test and srfi-64
(define-module (bs test)
#:use-module ((bs core)
#:select (prn))
#:export (testing))
;; - learn srfi-64
;; - port over `deftest' et al from clojure
;; - someday a quickcheck-like would be best
;; simple analog to clojure's `testing'
(define-syntax testing
(syntax-rules ()
((_ description ...)
((begin (prn description) ...)))))
|