root/tests/test_suite.txt

Revision 724f8a6c3cc65683c79f604325304b53620a1f2f, 0.9 kB (checked in by Philip Herron <redbrain@…>, 2 years ago)

test suite documentation

  • Property mode set to 100644
Line 
1Test Suites
2=====================
3
4Currently the test suite need more formalized tests asap! I would
5be ever greatful if people just keep pouring in tests that work but
6illustrate and idea and even more greatful for tests which will cause
7faults. Its a quick and easy way to get involved with language projects
8since you get good experience in the language and in commiting to the
9project and your name on the AUTHORS!
10
11How it works
12----------------
13
14Currently, running make test in the toplevel invokes a perl script, to
15read through the 't' directory for all the tests, and execute them and
16compares the stdout stream with the contents of the respective filename
17results file. Example if a test was called (test/t/t10.crl) the results
18the desired result of this will be in (test/r/t10.r). So if these results
19match it completes the test, this is what makes it important to have fairly
20verbose messages in your tests so you have strings to match!
Note: See TracBrowser for help on using the browser.