Commit 796228fe by Gabriel Falcão

docs: some lowercased headers

parent 8ee6f9b7
...@@ -40,7 +40,7 @@ Give to developers ability to describe :ref:`features <intro-wtf>` in ...@@ -40,7 +40,7 @@ Give to developers ability to describe :ref:`features <intro-wtf>` in
natural language, composing it with one one or more scenarios. natural language, composing it with one one or more scenarios.
Each scenario has one possible behaviour of the feature you want to implement. Each scenario has one possible behaviour of the feature you want to implement.
To make the scenarios run python code, you define :ref:`steps <reference-steps`. To make the scenarios run python code, you define :ref:`steps <reference-features>`.
Hands on! Hands on!
========= =========
......
.. _tutorial-scenario-outlines: .. _tutorial-scenario-outlines:
scenario outlines
================= =================
Scenario Outlines
=================
On our :ref:`first description file<tutorial-simple>`, `zero.feature`, all scenarios were On our :ref:`first description file<tutorial-simple>`, `zero.feature`, all scenarios were
similar. This made us repeat most of the text again and again. similar. This made us repeat most of the text again and again.
......
.. _tutorial-simple: .. _tutorial-simple:
Introduction introduction
============ ============
Lettuce_ is an extremely useful and charming tool for BDD_ (Behavior Lettuce_ is an extremely useful and charming tool for BDD_ (Behavior
...@@ -16,7 +16,7 @@ its development. ...@@ -16,7 +16,7 @@ its development.
.. image:: ./flow.png .. image:: ./flow.png
Get Lettuce get lettuce
=========== ===========
Make sure you've got Python installed and then run from the terminal: Make sure you've got Python installed and then run from the terminal:
...@@ -27,7 +27,7 @@ Make sure you've got Python installed and then run from the terminal: ...@@ -27,7 +27,7 @@ Make sure you've got Python installed and then run from the terminal:
user@machine:~$ [sudo] pip install lettuce user@machine:~$ [sudo] pip install lettuce
Define a problem define a problem
================ ================
Let's choose a problem to lettuce: Let's choose a problem to lettuce:
...@@ -39,7 +39,7 @@ Let's choose a problem to lettuce: ...@@ -39,7 +39,7 @@ Let's choose a problem to lettuce:
product of all positive integers less than or equal to n. The product of all positive integers less than or equal to n. The
factorial of 0 is factorial of 0 is
Project structure project structure
================= =================
Build the directory tree bellow such as the files `zero.feature` and `steps.py` are empty. Build the directory tree bellow such as the files `zero.feature` and `steps.py` are empty.
...@@ -54,12 +54,12 @@ Build the directory tree bellow such as the files `zero.feature` and `steps.py` ...@@ -54,12 +54,12 @@ Build the directory tree bellow such as the files `zero.feature` and `steps.py`
- zero.feature - zero.feature
- steps.py - steps.py
Lettuce it! lettuce it!
=========== ===========
Lets begin to describe and solve our problem... Lets begin to describe and solve our problem...
First round first round
----------- -----------
...@@ -199,7 +199,7 @@ However, one test is not enough for checking the quality of our ...@@ -199,7 +199,7 @@ However, one test is not enough for checking the quality of our
solution... So let's lettuce it again! solution... So let's lettuce it again!
Second round second round
------------ ------------
Let's provide more tests so our problem is better described, and so we Let's provide more tests so our problem is better described, and so we
...@@ -302,7 +302,7 @@ scenarions, specially for number 2: ...@@ -302,7 +302,7 @@ scenarions, specially for number 2:
Great! Three scenarios described and they are alright! Great! Three scenarios described and they are alright!
Third round third round
----------- -----------
Let's provide more tests so our problem is better described and we get Let's provide more tests so our problem is better described and we get
...@@ -403,7 +403,7 @@ step. ...@@ -403,7 +403,7 @@ step.
.. image:: ./screenshot6.png .. image:: ./screenshot6.png
Forth round forth round
----------- -----------
All steps should be repeated as long as you can keep doing them - the All steps should be repeated as long as you can keep doing them - the
......
.. _tutorial-tables: .. _tutorial-tables:
Handling data with tables handling data with tables
========================= =========================
Let us put that you are writting a MVC application. Along the tests Let us put that you are writting a MVC application. Along the tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment