The Anarki Arc Test Suite is found in the t/.t. A few of which are written in Perl 5 and the rest are written in Arc itself. They all use http://testanything.org/ . Up to a few hours ago, the test suite required my Test::Run TAP harness, which has quite a few dependencies. However, I've now written a more minimalistic (and less user-friendly) test harness based on TAP::Parser ( http://search.cpan.org/dist/TAP-Parser/ ), which has fewer dependencies. You can find it on Mini-Test.pl and invoke it using "make test" or "make check". To write automated tests for Arc look at arctap.arc , or take a look at the existing scripts (t/.arc.t) . It would be a good idea to beef up the test suite to increase the code coverage, and to give more examples, that can also be used as documentation and specification. They are also useful for preventing regressions. One sub-optimal fact at the moment is that I haven't found a way to query the line numbers of the function call-stack, so one can pinpoint the error only using the description text that needs to be added manually. |