Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lettuce
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
lettuce
Commits
796228fe
Commit
796228fe
authored
May 24, 2010
by
Gabriel Falcão
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: some lowercased headers
parent
8ee6f9b7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
14 deletions
+12
-14
docs/intro/overview.rst
+1
-1
docs/tutorial/scenario-outlines.rst
+1
-3
docs/tutorial/simple.rst
+9
-9
docs/tutorial/tables.rst
+1
-1
No files found.
docs/intro/overview.rst
View file @
796228fe
...
...
@@ -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.
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!
=========
...
...
docs/tutorial/scenario-outlines.rst
View file @
796228fe
.. _tutorial-scenario-outlines:
scenario outlines
=================
Scenario Outlines
=================
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.
...
...
docs/tutorial/simple.rst
View file @
796228fe
.. _tutorial-simple:
I
ntroduction
i
ntroduction
============
Lettuce_ is an extremely useful and charming tool for BDD_ (Behavior
...
...
@@ -16,7 +16,7 @@ its development.
.. image:: ./flow.png
Get L
ettuce
get l
ettuce
===========
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
D
efine a problem
d
efine a problem
================
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
factorial of 0 is
P
roject structure
p
roject structure
=================
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`
- zero.feature
- steps.py
L
ettuce it!
l
ettuce it!
===========
Lets begin to describe and solve our problem...
F
irst round
f
irst round
-----------
...
...
@@ -199,7 +199,7 @@ However, one test is not enough for checking the quality of our
solution... So let's lettuce it again!
S
econd round
s
econd round
------------
Let's provide more tests so our problem is better described, and so we
...
...
@@ -302,7 +302,7 @@ scenarions, specially for number 2:
Great! Three scenarios described and they are alright!
T
hird round
t
hird round
-----------
Let's provide more tests so our problem is better described and we get
...
...
@@ -403,7 +403,7 @@ step.
.. image:: ./screenshot6.png
F
orth round
f
orth round
-----------
All steps should be repeated as long as you can keep doing them - the
...
...
docs/tutorial/tables.rst
View file @
796228fe
.. _tutorial-tables:
H
andling data with tables
h
andling data with tables
=========================
Let us put that you are writting a MVC application. Along the tests
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment