WHEN TO AUTOMATE?
- Time
- Team
- Things really, really have to work
Slide 15
Slide 15 text
TYPES OF TESTS
Slide 16
Slide 16 text
TYPES OF TESTS
- Acceptance Tests
Slide 17
Slide 17 text
TYPES OF TESTS
- Acceptance Tests
- Functional Tests
Slide 18
Slide 18 text
TYPES OF TESTS
- Acceptance Tests
- Functional Tests
- Unit Tests
Slide 19
Slide 19 text
ACCEPTANCE TESTS
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
#BDD library for Gherkin syntax
lettuce
#browser API on top of selenium
splinter
#Always keep this the newest version
selenium==2.21.3
Slide 23
Slide 23 text
GHERKIN
Given the state of a system,
When an action is taken,
Then an outcome is achieved.
Slide 24
Slide 24 text
#BDD library for Gherkin syntax
lettuce
#browser API on top of selenium
splinter
#Always keep this the newest version
selenium==2.21.3
Slide 25
Slide 25 text
#BDD library for Gherkin syntax
lettuce
#browser API on top of selenium
splinter
#Always keep this the newest version
selenium==2.21.3
Slide 26
Slide 26 text
settings.py
Slide 27
Slide 27 text
FEATURES
Slide 28
Slide 28 text
polls/features/vote.feature
Slide 29
Slide 29 text
polls/features/vote.feature
Slide 30
Slide 30 text
terrain.py
Slide 31
Slide 31 text
polls/features/steps.py
Slide 32
Slide 32 text
polls/features/vote.feature
Slide 33
Slide 33 text
terrain.py
Slide 34
Slide 34 text
polls/features/steps.py
Slide 35
Slide 35 text
polls/features/steps.py
Slide 36
Slide 36 text
polls/features/steps.py
Slide 37
Slide 37 text
polls/features/steps.py
Slide 38
Slide 38 text
No content
Slide 39
Slide 39 text
FUNCTIONAL TESTS
Slide 40
Slide 40 text
polls/templates/results.html
Slide 41
Slide 41 text
#Includes a nose test runner and
#options for running types of tests
unclebob
#helper library for scenarios
#and assertions
sure
Slide 42
Slide 42 text
#Includes a nose test runner and
#options for running types of tests
unclebob
#helper library for scenarios
#and assertions
sure
Slide 43
Slide 43 text
settings.py
Slide 44
Slide 44 text
polls/tests/functional/test_polls.py
Slide 45
Slide 45 text
polls/tests/functional/test_polls.py
Slide 46
Slide 46 text
No content
Slide 47
Slide 47 text
UNIT TESTS
Slide 48
Slide 48 text
#Includes a nose test runner and
#options for running types of tests
unclebob
#helper library for scenarios
#and assertions
sure
Slide 49
Slide 49 text
#Includes a nose test runner and
#options for running types of tests
unclebob
#helper library for scenarios
#and assertions
sure
Slide 50
Slide 50 text
#Includes a nose test runner and
#options for running types of tests
unclebob
#helper library for scenarios
#and assertions
sure
#python mocking library
mock