From: Sven Schöling Date: Wed, 14 Oct 2009 09:30:52 +0000 (+0200) Subject: Test Beschreibung. X-Git-Tag: release-2.6.1beta1~226 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ed41d55e5545edd2abb6a2cae868bc6ebc45771d;p=kivitendo-erp.git Test Beschreibung. --- diff --git a/t/README b/t/README new file mode 100644 index 000000000..1a60972f1 --- /dev/null +++ b/t/README @@ -0,0 +1,29 @@ +Testsuite for Lx-Office. + +These tests are a means to ensure basic sanity among the lx-office source +files. The test framework was originally written by the guys of Bugzilla, and +has been modified to cope with the Lx-Office structure. + + +The Tests: + +001compile.t: Tries to compile every source file. Bails out if any errors occur. +002goodperl.t: Checks every perl source file for taint, warnings and strict. + While taint is not seen mandatory, warnings and strict are. +003safesys: Checks is system() and exec() calls are fully qualified. +004template.t defunct! +005no_tabs.t checks every file for the \t Tab char. don't use tabs please. +006spelling.t checks for common spelling errors. +011pog.t checks if POD syntax is correct. + + +Wanted Tests: + +- module check +- check if symlinks are missing. +- check for anything outside lower ascii in pl/pm files (only place for complex + coding is locale) +- Devise a test to check if there are modifications to locales without a + locales.pl run. +- Test if parse_template can compile all html templates. +- spec tests for pure backend modules like Form.pm and Common.pm