Skip to content

Commit

Permalink
Merge pull request #2933 from vkarak/doc/update-naming-bnf-grammar
Browse files Browse the repository at this point in the history
[doc] Update BNF grammar for the test naming scheme
  • Loading branch information
vkarak committed Jun 22, 2023
2 parents ea2c8a3 + 1a6a24b commit 23ca09c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/manpage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ The format of the display name is the following in BNF notation:

.. code-block:: bnf
<display_name> ::= <test_class_name> (<params>)* (<scope>)?
<display_name> ::= <test_class_name> (<params>)* (<scope> ("'"<fixtvar>)+)?
<params> ::= "%" <parametrization> "=" <pvalue>
<parametrization> ::= (<fname> ".")* <pname>
<scope> ::= "~" <scope_descr>
Expand All @@ -1035,6 +1035,7 @@ The format of the display name is the following in BNF notation:
<pvalue> ::= (* string *)
<first> ::= (* string *)
<second> ::= (* string *)
<fixtvar> ::= (* string *)
The following is an example of a fictitious complex test that is itself parameterized and depends on parameterized fixtures as well.

Expand Down

0 comments on commit 23ca09c

Please sign in to comment.