Upload
priyanka-bhasin
View
150
Download
0
Embed Size (px)
Citation preview
How not to doBDD?
Priyanka Bhasin@priyanka23
Tester
eXtreme Programming (XP)
•Pair Programming•Continuous Integration•Small releases•Simple design•Sustainable pace•Refactoring•Test Driven Development (TDD)
TDD ≠ BDD
TDD
BDD
FAILINGBEHAVIOURAL
TEST
Behaviour Driven Development
Behaviour-driven development is about implementing an application by describing its behaviour from the perspective of its stakeholders”
Core principles
It’s all about behaviour
It’s all about behaviour
It’s all about behaviour
Where is the business value
Where is the business value
Where is the business value
The three amigosBusiness Analyst /
Product OwnerTester Developer
Anti Patterns
BDD is a silver bulletThe first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.
Automation over Conversation
No business value
No business value
Higher level scripting Language
Higher level scripting Language
And I wait for 10 seconds
Business Stakeholders interested
Business not interested
Business not interested
• They don’t care about testing• They don’t write specification
on their own
The more details the better
Or this
Or this for the win
• Shared Knowledge• Focused Effort• Make Safe changes• Living Documentation
Key Takeaways• TDD ≠ BDD• Not a silver bullet• Hide details• Business value• Ubiquitous Language• It is not about automation but about
collaboration
…those who learned to collaborate and improvise most effectively have prevailed.”
Charles Darwin
Thank You
/in/priyankabhasin
@priyanka23