Commit Briefs

a38e689f6f Sven M. Hallberg

add apt-tst(1) manpage (main, tags/v1.0)


7fee41a2f1 Sven M. Hallberg

add TODO


f540aee5c2 Sven M. Hallberg

manpage tweak


42e3573fc2 Sven M. Hallberg

rename test.h.3 to test.h.5


784eeb2429 Sven M. Hallberg

rewrite README


6bb0b7c891 Sven M. Hallberg

rearrange directories


5befd76049 Sven M. Hallberg

test.h: rename TEST and RUNT to test() and runtest()

Also organizes corresponding tests into a nicer directory hierarchy.


be897a7b9b Sven M. Hallberg

add manpage for test.h

Replaces the top-of-file comment in test.h.


5bc4ca7fa3 Sven M. Hallberg

test.h: add rem()


a6b35f6624 Sven M. Hallberg

add -k option (keep going on test failure)


Branches

Tags

Tree

Makefilecommits | blame
READMEcommits | blame
TODOcommits | blame
exercise*commits | blame
man/
support/
tests/

README

                                    README

NAME
     exercise - a simple but flexible test runner
     test.h   - terribly simple (unit) tests in C

DESCRIPTION
     This project implements a small program to run tests and track their
     results. A running status is displayed on the console that is designed to
     be unintrusive and pleasing in case of success, as well as clear and to
     the point in case of failure.

     The executable is designed to be small and self-contained enough to be
     distributed with any project that uses it. It depends only on Tcl 8.4 or
     later.

     Tests are realized as simple executables that should signal success or
     failure by their exit status and may print arbitrary diagnostics to
     standard error. Executables that integrate multiple test cases can use a
     straightforward reporting format on standard output to communicate their
     status.

     Further included is a single-header library for testing C programs. It is
     likewise designed to be minimal, straightforward and flexible. By design,
     its output format differs from the report format understood by exercise;
     a simple adapter script is provided.

     Refer to the man pages in the man/ subdirectory for documentation. They
     can be viewed with 'man -l <file>'.

FILES
     README         project overview
     TODO           future work
     exercise       main executable
     man/           manual pages
     support/       C language support (test.h) and adapter script
     tests/         self tests

AUTHORS
     Sven M. Hallberg <pesco@khjk.org>

                                August 9, 2025