guix-artwork/website/tests
..
apps
README.org
all.scm

README.org

Web site test suite

Introduction

Guile comes with support for SRFI-64, which is a Scheme API for test suites. That's what it's used in this directory for testing.

Running the test suite

To run the complete test suite:

$ cd path/to/project
$ export GUILE_LOAD_PATH="$GUILE_LOAD_PATH:$PWD"
$ guile tests/all.scm

To run the test suite for a particular module:

$ cd path/to/project
$ export GUILE_LOAD_PATH="$GUILE_LOAD_PATH:$PWD"
$ guile tests/MODULE_NAME.scm

Note that running tests will generate log files named SUITE_NAME.log. These files will be written in the current working directory, and give more details about the tests.