From b8787e39cf78c9212a4816cbe978d77d3f63289f Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 7 Dec 1999 22:41:58 +0000 Subject: zsh-workers/8936 --- Etc/zsh-development-guide | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Etc') diff --git a/Etc/zsh-development-guide b/Etc/zsh-development-guide index ec8620973..ef6861761 100644 --- a/Etc/zsh-development-guide +++ b/Etc/zsh-development-guide @@ -40,6 +40,30 @@ Patches archive, send them to the mailing list with a Subject: line starting with "PATCH:". +Testing +------- + +* Because zsh has a huge number of different options and interacts with + a wide range of human and artificial life, it is very difficult to + test the shell thoroughly. For this purpose, the Test subdirectory + exists. It consists of a driver script (ztst.zsh) and various test + files (*.ztst) in a format which is described in cd.ztst, which acts + as a template. It is designed to make it easy to provide input to + chunks of shell code and to test the corresponding standard output, + error output and exit status. + +* There is not much there yet, but please don't let that put you off adding + tests for basic syntactic features, builtins, options etc. which you + know to be flakey or to have had difficulties in the past. Better + support for testing job control and interactive features is expected + to follow eventually (this may require additional external software + e.g. `expect'). + +* The directory is not part of the usual process of building and + installation. To run the tests, go to Test and `make test'. Please + report any errors with all the usual information about the zsh version + and the system you are using. + C coding style -------------- -- cgit 1.4.1