1 Usage

1.1 Writing a test suite

You can write a test suite in any way you want, as long as it is an SRFI 64 test suite.

The names of the files defining the tests, however, must follow any of the following conventions to be able to be discovered by Guile Probá’s run command:

1.2 Running a test suite

You can run a test suite using the command-line interface (see CLI) or the application programming interface (see API). To do the former, launch a terminal and command proba to run the tests located in a given directory. For example, the following runs the test suite defined in the tests directory:

$ proba run tests

A brief report is printed on the screen (see Brief report), and a complete report is written to /tmp/guile-proba-test-suite.log (see Complete report).

To run the tests using the API, start a Guile REPL and call the run procedure instead. For example:

$ guile
scheme@(guile-user)> (use-modules (proba commands))
scheme@(guile-user)> (run "tests" #:log-path "/tmp/my-test-suite.log")