64.sld 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. (define-library (srfi 64)
  2. (cond-expand
  3. (kawa (export %test-begin))
  4. (else (export test-begin)))
  5. (export
  6. test-end test-assert test-eqv test-eq test-equal
  7. test-approximate test-assert test-error test-apply test-with-runner
  8. test-match-nth test-match-all test-match-any test-match-name
  9. test-skip test-expect-fail test-read-eval-string
  10. test-runner-group-path test-group test-group-with-cleanup
  11. test-result-ref test-result-set! test-result-clear test-result-remove
  12. test-result-kind test-passed?
  13. ;; Misc test-runner functions
  14. test-runner? test-runner-reset test-runner-null
  15. test-runner-simple test-runner-current test-runner-factory test-runner-get
  16. test-runner-create test-runner-test-name
  17. ;; test-runner field setter and getter functions
  18. test-runner-pass-count test-runner-pass-count!
  19. test-runner-fail-count test-runner-fail-count!
  20. test-runner-xpass-count test-runner-xpass-count!
  21. test-runner-xfail-count test-runner-xfail-count!
  22. test-runner-skip-count test-runner-skip-count!
  23. test-runner-group-stack test-runner-group-stack!
  24. test-runner-on-test-begin test-runner-on-test-begin!
  25. test-runner-on-test-end test-runner-on-test-end!
  26. test-runner-on-group-begin test-runner-on-group-begin!
  27. test-runner-on-group-end test-runner-on-group-end!
  28. test-runner-on-final test-runner-on-final!
  29. test-runner-on-bad-count test-runner-on-bad-count!
  30. test-runner-on-bad-end-name test-runner-on-bad-end-name!
  31. test-result-alist test-result-alist!
  32. test-runner-aux-value test-runner-aux-value!
  33. ;; default/simple call-back functions, used in default test-runner,
  34. ;; but can be called to construct more complex ones.
  35. test-on-group-begin-simple test-on-group-end-simple
  36. test-on-bad-count-simple test-on-bad-end-name-simple
  37. test-on-final-simple test-on-test-end-simple
  38. test-on-final-simple
  39. )
  40. (import
  41. (scheme base)
  42. (scheme case-lambda)
  43. (scheme complex)
  44. (scheme eval)
  45. (scheme read)
  46. (scheme write)
  47. (srfi 1)
  48. (srfi 35)
  49. (srfi 48))
  50. (include "64.body.scm"))