diff options
Diffstat (limited to 'yarn.1.in')
-rw-r--r-- | yarn.1.in | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -37,6 +37,7 @@ As an example, consider a very short test scenario for verifying that a backup program works, at least for one simple case. .IP .nf +SCENARIO backups can be restored GIVEN some live data in a directory AND an empty backup repository WHEN a backup is made @@ -44,7 +45,8 @@ THEN the data case be restored .nf .PP (Note the addition of AND: you can have multiple GIVEN, WHEN, and -THEN statements. The AND keyword makes the text be more readable.) +THEN statements. The AND keyword makes the text be more readable. +SENCARIO is also necessary, and gives the title.) .PP Scenarios are meant to be written in somewhat human readable language. However, they are not free form text. @@ -113,3 +115,5 @@ All the files will be treated together as if they had been one file. .SH "SEE ALSO" .BR cmdtest (1), .BR cliapp (5). +.PP +The README.yarn file has more details on the scenario testing language. |