| 1 | ;;; srfi-64.scm -- SRFI 64 - A Scheme API for test suites. |
| 2 | |
| 3 | ;; Copyright (C) 2014 Free Software Foundation, Inc. |
| 4 | ;; |
| 5 | ;; This library is free software; you can redistribute it and/or |
| 6 | ;; modify it under the terms of the GNU Lesser General Public |
| 7 | ;; License as published by the Free Software Foundation; either |
| 8 | ;; version 3 of the License, or (at your option) any later version. |
| 9 | ;; |
| 10 | ;; This library is distributed in the hope that it will be useful, |
| 11 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | ;; Lesser General Public License for more details. |
| 14 | ;; |
| 15 | ;; You should have received a copy of the GNU Lesser General Public |
| 16 | ;; License along with this library; if not, write to the Free Software |
| 17 | ;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | |
| 19 | (define-module (srfi srfi-64) |
| 20 | #:export |
| 21 | (test-begin |
| 22 | test-end test-assert test-eqv test-eq test-equal |
| 23 | test-approximate test-assert test-error test-apply test-with-runner |
| 24 | test-match-nth test-match-all test-match-any test-match-name |
| 25 | test-skip test-expect-fail test-read-eval-string |
| 26 | test-runner-group-path test-group test-group-with-cleanup |
| 27 | test-result-ref test-result-set! test-result-clear test-result-remove |
| 28 | test-result-kind test-passed? |
| 29 | test-log-to-file |
| 30 | test-runner? test-runner-reset test-runner-null |
| 31 | test-runner-simple test-runner-current test-runner-factory test-runner-get |
| 32 | test-runner-create test-runner-test-name |
| 33 | test-runner-pass-count test-runner-pass-count! |
| 34 | test-runner-fail-count test-runner-fail-count! |
| 35 | test-runner-xpass-count test-runner-xpass-count! |
| 36 | test-runner-xfail-count test-runner-xfail-count! |
| 37 | test-runner-skip-count test-runner-skip-count! |
| 38 | test-runner-group-stack test-runner-group-stack! |
| 39 | test-runner-on-test-begin test-runner-on-test-begin! |
| 40 | test-runner-on-test-end test-runner-on-test-end! |
| 41 | test-runner-on-group-begin test-runner-on-group-begin! |
| 42 | test-runner-on-group-end test-runner-on-group-end! |
| 43 | test-runner-on-final test-runner-on-final! |
| 44 | test-runner-on-bad-count test-runner-on-bad-count! |
| 45 | test-runner-on-bad-end-name test-runner-on-bad-end-name! |
| 46 | test-result-alist test-result-alist! |
| 47 | test-runner-aux-value test-runner-aux-value! |
| 48 | test-on-group-begin-simple test-on-group-end-simple |
| 49 | test-on-bad-count-simple test-on-bad-end-name-simple |
| 50 | test-on-final-simple test-on-test-end-simple |
| 51 | test-on-final-simple)) |
| 52 | |
| 53 | (cond-expand-provide (current-module) '(srfi-64)) |
| 54 | |
| 55 | (include-from-path "srfi/srfi-64/testing.scm") |