circuitpython/lib/tinytest
Paul Sokolovsky f4ed2dfa94 lib/tinytest: Clean up test reporting in the presence of stdout output.
tinytest is written with the idea that tests won't write to stdout, so it
prints test name witjout newline, then executes test, then writes status.
But MicroPython tests write to stdout, so the test output becomes a mess.
So, instead print it like:

    # starting basics/andor.py
    ... test output ...
    basics/andor.py: OK
2017-12-15 19:41:08 +02:00
..
README lib/tinytest: Move from tools/tinytest. 2017-12-08 19:26:15 +02:00
tinytest.c lib/tinytest: Clean up test reporting in the presence of stdout output. 2017-12-15 19:41:08 +02:00
tinytest.h lib/tinytest: Move from tools/tinytest. 2017-12-08 19:26:15 +02:00
tinytest_macros.h lib/tinytest: Move from tools/tinytest. 2017-12-08 19:26:15 +02:00

README

Tinytest is a tiny little test framework written in C by Nick Mathewson.

It is distributed under the 3-clause BSD license.  You can use it in
your own programs so long as you follow the license's conditions.

It's been tested on Windows, Mac, and many of the free Unixes.

It knows how to fork before running certain tests, and it makes
text-mode output in a format I like.

For info on how to use it, check out tinytest_demo.c.

You can get the latest version using Git, by pulling from
   git://github.com/nmathewson/tinytest.git

Patches are welcome. Patches that turn this from tinytest to hugetest
will not be applied.  If you want a huge test framework, use CUnit.