diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:20:29 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-09-02 19:20:29 +0100 |
commit | f16588d5c07ec4e7fb08d2de2575258c36210fea (patch) | |
tree | 6e9fbbce73e88ac5d818921791d7009a8406dd12 | |
parent | 3573f2213988fdc477d3cbf123981f7397f42cdb (diff) | |
download | cmdtest-f16588d5c07ec4e7fb08d2de2575258c36210fea.tar.gz |
Document DATADIR and SRCDIR in the manpage
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | yarn.1.in | 19 |
2 files changed, 22 insertions, 0 deletions
@@ -19,6 +19,9 @@ Version 0.10, released UNRELEASED * Yarn now reports scenarios skipped because of ASSUMING failing. +* Yarn manual page now documents DATADIR and SRCDIR environment + variables. + Bug fixes: * Yarn now complains if a scenario has no THEN steps. Suggested by @@ -109,7 +109,26 @@ by a programmer, but given a well-designed set of steps, with enough flexibility in their implementation, that quite a good test suite can be written. +.PP +The shell commands in an IMPLEMENTS section are run in the directory +in which the user ran +.BR yarn . +The environment variable +.B SRCDIR +is set to the fully qualified path to that directory. .SH OPTIONS +.SH ENVIRONMENT +.TP +.B DATADIR +Fully qualified pathname to a temporary directory, +in which the tests can use files. +The temporary directory is removed at the end of the test execution, +unless the user specifies otherwise with \-\-snapshot. +.TP +.B SRCDIR +Fully qualitifed pathname to the directory in which the user ran +.BR yarn . +This is useful when the tests want to change the directory. .SH EXAMPLE To run .B yarn |