|
simpletest
checks whether a test package exist for each of the
packages to be tested. For each of those, the package is tested and its test
results are displayed together with per-test-case information as directed by
the -v
flag. Finally, the statistics of all tested packages and
test-case results are displayed.
simpletest
is based on the testing framework provided by the SimpleTest package, and does not
require other Simple Library packages so as to keep the number of dependences
to a minimum in order to have a testing environment as robust as possible.
simpletest
can be used for testing packages other than those of
the Simple Library provided that the package test-cases are exposed when
requiring the package named package-test
where
package
is the name of the package to test. Check Simple Library file structure to
see how the Simple Library accomplishes this.
|
simpletest
[-v verbosity]
[-w width]
[-c criteria]
(-all|package [package ...])
-v verbosity
Verbosity | Description |
No individual tests are displayed, only the per-package and global statistics |
|
Failed tests are displayed (default) | |
Tests with distinct major title are displayed | |
All tests are displayed |
-w width
-c criteria
-all
|
|
simpletest -all
simpletest -v 2 foo bar
simpletest -w 132 -c 1-20,22 foo
|
|
Date | Description |
19-feb-1999 | Unreleased first version 0.1 |
23-apr-2000 | First public release, version 0.2 |