From 9b8e0cebef4d60f0aaa6dbcd095dcb6ca576f778 Mon Sep 17 00:00:00 2001 From: alsugiliazova Date: Mon, 30 Oct 2023 10:01:11 +0100 Subject: [PATCH 1/4] minor corrections --- source/handbook/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/handbook/index.md b/source/handbook/index.md index ba50c11c..3206057b 100644 --- a/source/handbook/index.md +++ b/source/handbook/index.md @@ -1736,7 +1736,7 @@ If we also want to set custom `examples`, you could do it as follows: Scenario(name="my new name", flags=PAUSE_BEFORE, examples=Examples("x y result", [ (1,2,3), (2,2,4) - ], test=test)(x=1, y=1, result=2) + ]), test=test)(x=1, y=1, result=2) ``` Similarly, any other attribute of the scenario can be set. If the same attribute @@ -2581,7 +2581,7 @@ When custom command line argument parser is defined then the help messages obtai the description of the custom arguments. For example, ```bash -python3 ./test.py +python3 ./test.py --help ``` ```bash ... From 0bece087c84b805aec887f529717015eaccb15bb Mon Sep 17 00:00:00 2001 From: alsugiliazova Date: Mon, 30 Oct 2023 11:34:24 +0100 Subject: [PATCH 2/4] removed duplicated word --- source/handbook/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/handbook/index.md b/source/handbook/index.md index 3206057b..50fba7f2 100644 --- a/source/handbook/index.md +++ b/source/handbook/index.md @@ -2577,7 +2577,7 @@ def regression(self, arg0, arg1): note(arg1) ``` -When custom command line argument parser is defined then the help messages obtained using `-h` or `--help` option will include +When custom command line argument parser is defined then the help gitmessages obtained using `-h` or `--help` option will include the description of the custom arguments. For example, ```bash @@ -3888,7 +3888,7 @@ with Scenario("My scenario"): ## Outline An [Outline] can be defined using [Outline] test definition class or [TestOutline] decorator. -An [Outline] is a sub-type of a [Test] type but can you can change the type +An [Outline] is a sub-type of a [Test] type but you can change the type by passing it another [Type] or a [Sub-Type] such as [Scenario] or [Suite] etc. However, because [Outline]s are meant to be called from other tests or used with [Examples] From 55d9a1937894fefcda6a56e507d225d5363b4089 Mon Sep 17 00:00:00 2001 From: alsugiliazova Date: Mon, 30 Oct 2023 11:35:49 +0100 Subject: [PATCH 3/4] correct misprint --- source/handbook/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/handbook/index.md b/source/handbook/index.md index 50fba7f2..6c109f5d 100644 --- a/source/handbook/index.md +++ b/source/handbook/index.md @@ -2577,7 +2577,7 @@ def regression(self, arg0, arg1): note(arg1) ``` -When custom command line argument parser is defined then the help gitmessages obtained using `-h` or `--help` option will include +When custom command line argument parser is defined then the help messages obtained using `-h` or `--help` option will include the description of the custom arguments. For example, ```bash From 05642c403a4a5e449491ff1b36311b40c98b60e7 Mon Sep 17 00:00:00 2001 From: alsugiliazova Date: Mon, 30 Oct 2023 16:45:42 +0100 Subject: [PATCH 4/4] add space --- source/handbook/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/handbook/index.md b/source/handbook/index.md index 6c109f5d..653b3bcc 100644 --- a/source/handbook/index.md +++ b/source/handbook/index.md @@ -3910,7 +3910,7 @@ outline() When [Examples] are defined for the [Outline] and an outline is called with no arguments from a test that is of a higher [Type] than the [Type] of outline itself, then when called, the outline will iterate over all -the examples defined in the [Examples] table. For example,if you run the example above that executes the outline +the examples defined in the [Examples] table. For example, if you run the example above that executes the outline with no arguments, you will see that the outline iterates over all the examples in the [Examples] table, where each example, a row in the examples table, defines the values of the arguments for the outline.