16. Acceptance Test Driven Development
16
write a
failing unit
test
make it
pass
refactor
write a failing
acceptance
test
17. Acceptance Test Driven Development
17
write a
failing unit
test
make it
pass
refactor
write a failing
acceptance
test
18. Acceptance Test Driven Development
18
write a
failing
acceptance
test
make it
pass
discuss
user story
demo with
cusomer
19. Behaviour Driven Development
19
Feature: Eating too many cucumbers may not be good for you
Eating too much of anything may not be good for you.
Scenario: Eating a few is no problem
Given Alice is hungry
When she eats 3 cucumbers
Then she will be full
41. [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.555 s
<<< FAILURE! - in hello.GreetingAcceptanceIT
[ERROR] showGreetingTest(hello.GreetingAcceptanceIT) Time elapsed: 0.636 s <<<
ERROR!
org.openqa.selenium.NoSuchElementException:
no such element: Unable to locate element:
{"method":"id","selector":"ask-greeting"}
41