X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2FREADME;h=07276f3f54b16006cc62f3a09cea4a202b06da1b;hb=130ba50ded16e214dd1f6482ac8c54b3affc25f9;hp=1a60972f19a56f9cc515a7e84b1ccc93d51b2337;hpb=ed41d55e5545edd2abb6a2cae868bc6ebc45771d;p=kivitendo-erp.git diff --git a/t/README b/t/README index 1a60972f1..07276f3f5 100644 --- a/t/README +++ b/t/README @@ -4,6 +4,14 @@ 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. +To run a full test use the shell script t/test.sh. +You can also run every test with the perl interpreter like this: + +$ perl t/001compile.t + +A makefile for an automated make test would be highly appreciated. + + The Tests: @@ -14,7 +22,7 @@ The Tests: 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. +011pod.t checks if POD syntax is correct. Wanted Tests: @@ -23,7 +31,11 @@ Wanted Tests: - check if symlinks are missing. - check for anything outside lower ascii in pl/pm files (only place for complex coding is locale) +- check for msdos line endings +- check for trailing whitespace - 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. + +and later: - spec tests for pure backend modules like Form.pm and Common.pm