From 6cb29751c21594c010e3d60f39c3c8fc62264fe4 Mon Sep 17 00:00:00 2001 From: Martin Brown <5264795+martingbrown@users.noreply.github.com> Date: Sun, 15 Dec 2019 11:11:30 +0000 Subject: [PATCH] Made some minor change to make it read more easily --- docs/intro/wtf.rst | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/intro/wtf.rst b/docs/intro/wtf.rst index bf9edc8b6..f433c376f 100644 --- a/docs/intro/wtf.rst +++ b/docs/intro/wtf.rst @@ -18,7 +18,7 @@ Since Lettuce is used to test the behavior of a project, the behavior is broken up in to features of the system. After enumerating features, you need to create scenarios which will -describe those feature. Thus, scenarios are components of a feature. +describe those features. Thus, scenarios are components of a feature. Let's learn by example: suppose we want to create a system to manage an address book. @@ -110,8 +110,6 @@ Suppose that we need to fill the same form many times, each time with a different data set. This is how it could be done using scenario outlines: -Let's see how it could be done with scenario outlines: - :: Feature: Apply all my friends to attend a conference @@ -133,8 +131,8 @@ Let's see how it could be done with scenario outlines: | Lincoln | lincoln@provider.net | 1987/09/10 | | Marcus | marcus@other.org | 1990/10/05 | -In a nutshell, the scenario above is equivalent to write the huge code -bellow +In a nutshell, the scenario above is equivalent to the huge code +bellow: :: @@ -167,12 +165,12 @@ bellow Fill the field "birthday" with "1990/10/05" Click on "confirm attendance" button -As you can notice, scenario outlines are very useful and help you on -avoiding text and code repetition +As you will notice, scenario outlines are very useful and help you to +avoid text and code repetition. -************************* -Steps and its definitions -************************* +*************************** +Steps and their definitions +*************************** Comparable with Scenarios, Steps comes in two kinds: @@ -196,8 +194,8 @@ Tabular steps Analog to Outlined Scenarios, the tabular steps are very useful, and avoid repetition of text. -Tabular steps are specially useful to set up some data set in a -scenario, or to compare a set of data to the expected results in the +Tabular steps are especially useful to set up some data set in a +scenario, or to compare a set of data to the expected results at the end of the scenario. However, feel free to use this whenever you find it useful.