xunit 0.0.0-akku.21.0b4ede2

xUnit test utility

We propose an xUnit test utility (xunit) in which you can assert and investigate if a testee program's behaviour satisfies expected requirements. The way we recommend to specify expected requirements in terms of predicates, especially equivalence relations, because they are suitable to detect fundamental properties of the dynamic environment of, and by, Scheme programs.

(xunit) offers you useful macros which contain:

* assertions for standard predicates and equivalence relations,

* 'define-assert-equivalence', defining a custom assertion on some equivalence relation, and

* 'define-assert-predicate', defining a custom assertion on some predicate.

$ akku update
$ akku install xunit
$ .akku/env
Authors

Takeshi Abe

Uploaded to Akku by Göran Weinholt

Homepage

Information missing.

License

BSD-3-Clause

Dependencies

No dependencies.

Source code

https://github.com/tabe/xunit/ git
0b4ede29002a34fad6769a141ee251e5944c02b1

Package contents

  • (xunit) R6
    • → add-message! fail! define-assert-equivalence define-assert-predicate assert-raise assert-= assert-boolean=? assert-char=? assert-eq? assert-equal? assert-eqv? assert-string=? assert-symbol=? assert-bound-identifier=? assert-bytevector=? assert-char-ci=? assert-enum-set=? assert-fl=? assert-free-identifier=? assert-fx=? assert-string-ci=? assert-boolean? assert-char? assert-complex? assert-even? assert-exact? assert-finite? assert-inexact? assert-infinite? assert-integer-valued? assert-integer? assert-list? assert-nan? assert-negative? assert-null? assert-number? assert-odd? assert-pair? assert-positive? assert-procedure? assert-rational-valued? assert-rational? assert-real-valued? assert-real? assert-string? assert-symbol? assert-vector? assert-zero? assert-assertion-violation? assert-binary-port? assert-bitwise-bit-set? assert-buffer-mode? assert-bytevector? assert-char-alphabetic? assert-char-ci<=? assert-char-ci<? assert-char-ci>=? assert-char-ci>? assert-char-lower-case? assert-char-numeric? assert-char-title-case? assert-char-upper-case? assert-char-whitespace? assert-condition? assert-enum-set-member? assert-enum-set-subset? assert-eof-object? assert-error? assert-file-exists? assert-fixnum? assert-fl<=? assert-fl<? assert-fl>=? assert-fl>? assert-fleven? assert-flfinite? assert-flinfinite? assert-flinteger? assert-flnan? assert-flnegative? assert-flodd? assert-flonum? assert-flpositive? assert-flzero? assert-fx<=? assert-fx<? assert-fx>=? assert-fx>? assert-fxbit-set? assert-fxeven? assert-fxnegative? assert-fxodd? assert-fxpositive? assert-fxzero? assert-hashtable-contains? assert-hashtable-mutable? assert-hashtable? assert-i/o-decoding-error? assert-i/o-encoding-error? assert-i/o-error? assert-i/o-file-already-exists-error? assert-i/o-file-does-not-exist-error? assert-i/o-filename-error? assert-i/o-invalid-position-error? assert-i/o-port-error? assert-i/o-read-error? assert-i/o-write-error? assert-identifier? assert-implementation-restriction-violation? assert-input-port? assert-irritants-condition? assert-lexical-violation? assert-message-condition? assert-no-infinities-violation? assert-no-nans-violation? assert-non-continuable-violation? assert-output-port? assert-port-eof? assert-port-has-port-position? assert-port-has-set-port-position!? assert-port? assert-record-field-mutable? assert-record-type-descriptor? assert-record-type-generative? assert-record-type-opaque? assert-record-type-sealed? assert-record? assert-serious-condition? assert-string-ci<=? assert-string-ci<? assert-string-ci>=? assert-string-ci>? assert-syntax-violation? assert-textual-port? assert-undefined-violation? assert-violation? assert-warning? assert-who-condition? skip-unless report reset!
    • ← (rnrs) R6

Version history

  • 2018-08-02 ~ 0.0.0-akku.21.0b4ede2