From 722b5857aa431cad20735dcbf850e82f1eaf70e8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2016 11:06:39 +0200 Subject: Add description to testscript grammar --- doc/testscript.cli | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/testscript.cli') diff --git a/doc/testscript.cli b/doc/testscript.cli index 4586432..3e79ba8 100644 --- a/doc/testscript.cli +++ b/doc/testscript.cli @@ -718,13 +718,18 @@ teardown: variable-line|teardown-line scope: + description? '{' scope-body '}' test: + description? *((variable-line|test-line) ';') - test-line + test-line (':' )? + +description: + +(':' ) variable-line: ('='|'+='|'=+') value-attributes? value-attributes: '[' ']' @@ -782,6 +787,9 @@ same time is illegal. Here-line is like double-quoted string but recognizes newlines. +It is an error to specify both normal (better term?) and inline descriptions +for a test. + \ script: (script-scope|script-line)* -- cgit v1.1