srfi-64.scm 2.5 KB

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