test-utils

  1. test-utils
  2. Documentation
    1. (test-utils run)
      1. Usage
      2. run-tests-for
      3. run-test-for
      4. run-ident
      5. runid
      6. make-test-filename
      7. make-test-pathname
      8. test-lineup
      9. run-tests
      10. run-test
      11. test-files-rx
      12. csi-options
      13. csc-options
      14. run-test-evaluated
      15. run-test-compiled
    2. (test-utils gloss)
      1. Usage
      2. test-indent-width
      3. test-first-indentation
      4. test-max-indentation
      5. test-indentation-char
      6. test-group-level
      7. test-group-indent-width
      8. test-group-indent-string
      9. glossln
      10. glossn
      11. gloss
      12. glossnf
      13. glossf
    3. Examples
  3. Requirements
  4. Author
  5. Repository
  6. Version history
  7. License

Documentation

Gloss & Runner for CHICKEN Scheme test egg.

(test-utils run)

Usage

(import (test-utils run))

run-tests-for

[procedure] (run-tests-for EGGNAME [TEST-NAMES [CSC-OPTIONS [CSI-OPTIONS]]])

run-test-for

[procedure] (run-test-for EGGNAME [NAME [CSC-OPTIONS [CSI-OPTIONS]]])

run-ident

[procedure] (run-ident [IDENT]) -> (list-of (pair symbol *))

runid

[procedure] (runid ID [VALUE]) -> *

make-test-filename

[procedure] (make-test-filename NAME) -> string

make-test-pathname

[procedure] (make-test-pathname NAME) -> string

test-lineup

[procedure] (test-lineup [PATHS]) -> (list-of string)

run-tests

[procedure] (run-tests [TEST-NAMES [CSC-OPTIONS [CSI-OPTIONS]]])

run-test

[procedure] (run-test [NAME [CSC-OPTIONS [CSI-OPTIONS]]])

test-files-rx

[procedure] (test-files-rx [REGEXP]) -> regexp

csi-options

[procedure] (csi-options [OPTIONS]) -> (list-of string)

csc-options

[procedure] (csc-options [OPTIONS]) -> (list-of string)

run-test-evaluated

[procedure] (run-test-evaluated NAME OPTIONS)

run-test-compiled

[procedure] (run-test-compiled NAME OPTIONS)

(test-utils gloss)

Usage

(import (test-utils gloss))

test-indent-width

[procedure] (test-indent-width [WIDTH]) -> fixnum

test-first-indentation

[procedure] (test-first-indentation [INDENT]) -> fixnum

test-max-indentation

[procedure] (test-max-indentation [INDENT]) -> fixnum

test-indentation-char

[procedure] (test-indentation-char [CHAR]) -> char

test-group-level

[procedure] (test-group-level GROUP) -> fixnum

test-group-indent-width

[procedure] (test-group-indent-width GROUP) -> fixnum

test-group-indent-string

[procedure] (test-group-indent-string GROUP) -> string

glossln

[procedure] (glossln)

test group gloss level newline.

glossn

[procedure] (glossn [OBJS...])

test group gloss level display w/o newline.

gloss

[procedure] (gloss [OBJS...])

test group gloss level display w/ newline.

glossnf

[procedure] (glossnf FMT [OBJS...])

test group gloss level format w/o newline.

glossf

[procedure] (glossf FMT [OBJS...])

test group gloss level format w/ newline.

Examples

; run.scm
(import (test-utils run))
(run-tests-for "this-eggname")

Requirements

test

Author

Kon Lovett

Repository

This egg is hosted on the CHICKEN Subversion repository:

https://anonymous@code.call-cc.org/svn/chicken-eggs/release/5/test-utils

If you want to check out the source code repository of this egg and you are not familiar with Subversion, see this page.

Version history

1.0.5
.

License

Copyright (C) 2009-2023 Kon Lovett. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ASIS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.