summaryrefslogtreecommitdiffstats
path: root/Etc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-07 22:41:58 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-07 22:41:58 +0000
commitb8787e39cf78c9212a4816cbe978d77d3f63289f (patch)
tree395f2b1bfe5ccc96ce403dd3a32d3de8beb9d821 /Etc
parentzsh-workers/8933 (diff)
downloadzsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar.gz
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar.bz2
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar.lz
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar.xz
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.tar.zst
zsh-b8787e39cf78c9212a4816cbe978d77d3f63289f.zip
zsh-workers/8936
Diffstat (limited to 'Etc')
-rw-r--r--Etc/zsh-development-guide24
1 files changed, 24 insertions, 0 deletions
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
--------------