SlideShare a Scribd company logo
December 2011

Specifications For Enterprise Testing

Presenters
Sathyan Sethumadhavan & Shalabh
Varma
Agenda
Where do we spend more time
A new approach for collaboration
Implement Specifications
Gauge Progress
Q&A
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Do you experience any of this
Defects Leakage Missing Requirements
Test and
Requirements
documents becomes
stale

Frequent changes Breaks existing
functionalities
Long Regression
Cycles
Less confidence Existing test
coverage
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.

Spends more time on
defect management and
triage
Do you spend more time here
Creating test
Cases/Steps

Requirements
document

Fix production
Defects
Traceability
Matrix

Defect
Management
Creating test plan
and strategy

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Specifications Driven Development

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
EXAMPLES

Can
Become

TESTS

Elaborate

Verify

REQUIREMENTS

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Specifications – Focus Area
Requirements
document

Specifications
for both humans
and machines

Traceability
Matrix

Fix
production
defects
Creating
test cases

Creating test
plan and
strategy

Managing
stale artifcats

Tests as
Documentation

Defect
management
and analysis

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.

Specifying
Collaborately

Validating
Frequently
A Good Specification
Examples should be complete
Precise and Testable
True Specification – Not a script
About business functionality – Not software design
Self-explanatory and focused

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
A Good Specification

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
A Good Specification

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Benefits
Distributed teams - Necessary artifacts and re-use artifacts
One-time specification – Referred by stakeholders and team
Artifacts remain as living documents
Focus on collaboration and communication gap
More time on exploratory/business testing
Time-to-market availability
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Specifications – Key Process Patterns

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Goals
Understand customer’s
business requirements
Understand the “Why” and
“Who”
Understand the intent and
value
Understand the Output
Team delivers complete feature
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Collaboration

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Examples
Requirements - Don’t provide full and
unambiguous context
Don’t have Yes/No answers in your
example
Ask for alternate way for validation
Avoid making up your own data
Avoid temptation to explore all
possibility
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Refining

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Refining
Don’t create workflow like descriptions
Don’t get trapped in user interface
details
Show and lets the user understand
Refined Examples = Acceptance
criteria for delivery

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Refining

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Automation
Plan for automation upfront
Don’t delegate automation towards the
end
Avoid automating existing manual
scripts
Automate along system boundaries with
necessary context

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.

Automated Specification = Executable
Specification
Key Process Patterns - Automation

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns - Validation
Fix the most annoying thing, fix it and
repeat
Simpler test doubles for external
systems
Isolated environment and fully
automated deployments
Look for ways for faster feedback
Don’t just disable failing tests
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Key Process Patterns – Living
Documentation
Don’t create long specifications
Avoid using technical concepts in tests
Base specification on personas
Evolve the ubiquitous language and
use it consistently.
Organize based on functional areas

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Implementing Specifications

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Greenfield
Implement as part of the big
process change
Use TDD as a first step towards
Specifications
Follow the key process patterns

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Existing Projects
Start with automated tests
Don’t talk process or jargon words
Don’t make test automation end goal
Our Focus - Collaboration and processchange
Executable specification in the same
codebase
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Gauge Progress

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Gauge Progress

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Take Away
Distributed teams - Necessary artifacts and re-use artifacts
One-time specification – Referred by stakeholders and team
Artifacts remain as living documents
Focus on collaboration and communication gap
More time on exploratory/business testing
Time-to-market availability
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Case Studies

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Case Studies

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Tools
Twist - http://studios.thoughtworks.com/twist-agile-testautomation/
Cucumber – http://cukes.info
Concordion – http://www.concordion.org
FitNesse - http://fitnesse.org
Jbehave - http://jbehave.org
GreenPepper: http://www.greenpeppersoftware.com.
Robot Framework: http://www.robotframework.org
SpecFlow: http://www.specflow.org
TextTest: http://www.texttest.org
Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
Contact us

Sathyan Sethumadhavan
satnair@thoughtworks.com
Shalabh Varma
svarma@thoughtworks.com
References
a. Specification by example and Manning the specificationGojko Adzic
b. Projects implemented SDD in real-time

Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.

More Related Content

What's hot

TestPRO Profile v4.1
TestPRO Profile v4.1TestPRO Profile v4.1
TestPRO Profile v4.1
Samer Desouky
 
Agile Testing Agile Ottawa April 2015
Agile Testing   Agile Ottawa April 2015Agile Testing   Agile Ottawa April 2015
Agile Testing Agile Ottawa April 2015
Dag Rowe
 
Eric Jimmink - The Specialized Testers of the Future
Eric Jimmink - The Specialized Testers of the FutureEric Jimmink - The Specialized Testers of the Future
Eric Jimmink - The Specialized Testers of the Future
TEST Huddle
 
Stay on the leading edge as an RPA Developer with Learning and Certification
Stay on the leading edge as an RPA Developer with Learning and CertificationStay on the leading edge as an RPA Developer with Learning and Certification
Stay on the leading edge as an RPA Developer with Learning and Certification
Cristina Vidu
 
Performance Testing in the Agile Lifecycle
Performance Testing in the Agile LifecyclePerformance Testing in the Agile Lifecycle
Performance Testing in the Agile Lifecycle
TechWell
 
Top 10 Qualities of a QA Tester
Top 10 Qualities of a QA TesterTop 10 Qualities of a QA Tester
Top 10 Qualities of a QA Tester
Stacey Brown-Sommers
 
Quality Engineering in the New Era
Quality Engineering in the New EraQuality Engineering in the New Era
Quality Engineering in the New Era
Cygnet Infotech
 
Application Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal ApproachApplication Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal Approach
TechWell
 

What's hot (8)

TestPRO Profile v4.1
TestPRO Profile v4.1TestPRO Profile v4.1
TestPRO Profile v4.1
 
Agile Testing Agile Ottawa April 2015
Agile Testing   Agile Ottawa April 2015Agile Testing   Agile Ottawa April 2015
Agile Testing Agile Ottawa April 2015
 
Eric Jimmink - The Specialized Testers of the Future
Eric Jimmink - The Specialized Testers of the FutureEric Jimmink - The Specialized Testers of the Future
Eric Jimmink - The Specialized Testers of the Future
 
Stay on the leading edge as an RPA Developer with Learning and Certification
Stay on the leading edge as an RPA Developer with Learning and CertificationStay on the leading edge as an RPA Developer with Learning and Certification
Stay on the leading edge as an RPA Developer with Learning and Certification
 
Performance Testing in the Agile Lifecycle
Performance Testing in the Agile LifecyclePerformance Testing in the Agile Lifecycle
Performance Testing in the Agile Lifecycle
 
Top 10 Qualities of a QA Tester
Top 10 Qualities of a QA TesterTop 10 Qualities of a QA Tester
Top 10 Qualities of a QA Tester
 
Quality Engineering in the New Era
Quality Engineering in the New EraQuality Engineering in the New Era
Quality Engineering in the New Era
 
Application Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal ApproachApplication Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal Approach
 

Viewers also liked

电子阅读器的替代者
电子阅读器的替代者电子阅读器的替代者
电子阅读器的替代者
laserstone
 
第3届数博图片
第3届数博图片第3届数博图片
第3届数博图片
laserstone
 
也谈视频营销
也谈视频营销也谈视频营销
也谈视频营销
laserstone
 
How Consumer Technology Is Changing Retail
How Consumer Technology Is Changing RetailHow Consumer Technology Is Changing Retail
How Consumer Technology Is Changing RetailThoughtworks
 
eReader 敌人还是朋友
eReader 敌人还是朋友eReader 敌人还是朋友
eReader 敌人还是朋友
laserstone
 
Gaining Momentum with Agile at NOPSA
Gaining Momentum with Agile at NOPSAGaining Momentum with Agile at NOPSA
Gaining Momentum with Agile at NOPSA
Thoughtworks
 

Viewers also liked (6)

电子阅读器的替代者
电子阅读器的替代者电子阅读器的替代者
电子阅读器的替代者
 
第3届数博图片
第3届数博图片第3届数博图片
第3届数博图片
 
也谈视频营销
也谈视频营销也谈视频营销
也谈视频营销
 
How Consumer Technology Is Changing Retail
How Consumer Technology Is Changing RetailHow Consumer Technology Is Changing Retail
How Consumer Technology Is Changing Retail
 
eReader 敌人还是朋友
eReader 敌人还是朋友eReader 敌人还是朋友
eReader 敌人还是朋友
 
Gaining Momentum with Agile at NOPSA
Gaining Momentum with Agile at NOPSAGaining Momentum with Agile at NOPSA
Gaining Momentum with Agile at NOPSA
 

Similar to Specifications for Enterprise Testing

ATDD with SpecFlow
ATDD with SpecFlowATDD with SpecFlow
ATDD with SpecFlow
Arnon Axelrod
 
Accelerate Testing in Agile through a Shared Business Domain Language
Accelerate Testing in Agile through a Shared Business Domain LanguageAccelerate Testing in Agile through a Shared Business Domain Language
Accelerate Testing in Agile through a Shared Business Domain Language
TechWell
 
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agile
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agileATC2013-Harshawardhan- Effective requirement management-in_distributed_agile
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agileIndia Scrum Enthusiasts Community
 
Odd E验收测试驱动开发实战
Odd E验收测试驱动开发实战Odd E验收测试驱动开发实战
Odd E验收测试驱动开发实战George Ang
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
TechWell
 
Use Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual TestingUse Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual Testing
TechWell
 
Visual Studio 2010 Agile Tools (overview)
Visual Studio 2010 Agile Tools (overview)Visual Studio 2010 Agile Tools (overview)
Visual Studio 2010 Agile Tools (overview)
Alexei Govorine
 
Success Factors of FOSS Adoption
Success Factors of FOSS AdoptionSuccess Factors of FOSS Adoption
Success Factors of FOSS AdoptionAlexei Fedotov
 
Quality Metrics: The Dirty Word in the Room
Quality Metrics: The Dirty Word in the RoomQuality Metrics: The Dirty Word in the Room
Quality Metrics: The Dirty Word in the Room
Josiah Renaudin
 
devops-intro-181227144342.pptx devops ppt document
devops-intro-181227144342.pptx devops ppt  documentdevops-intro-181227144342.pptx devops ppt  document
devops-intro-181227144342.pptx devops ppt document
poothuinku
 
Agile testing
Agile testingAgile testing
Agile testing
Raj Indugula
 
Nature vs. Nurture: Building Great Test Teams
Nature vs. Nurture: Building Great Test TeamsNature vs. Nurture: Building Great Test Teams
Nature vs. Nurture: Building Great Test Teams
Josiah Renaudin
 
Helpful Practices in Agile Testing
Helpful Practices in Agile TestingHelpful Practices in Agile Testing
Helpful Practices in Agile Testing
Josiah Renaudin
 
Partnership Presentation (2)
Partnership Presentation (2)Partnership Presentation (2)
Partnership Presentation (2)Synergetics India
 
Partnership presentation (2)
Partnership presentation (2)Partnership presentation (2)
Partnership presentation (2)Synergetics India
 
Aman singh qa 3
Aman singh qa 3Aman singh qa 3
Aman singh qa 3
Amandeep Singh
 

Similar to Specifications for Enterprise Testing (20)

ATDD with SpecFlow
ATDD with SpecFlowATDD with SpecFlow
ATDD with SpecFlow
 
Accelerate Testing in Agile through a Shared Business Domain Language
Accelerate Testing in Agile through a Shared Business Domain LanguageAccelerate Testing in Agile through a Shared Business Domain Language
Accelerate Testing in Agile through a Shared Business Domain Language
 
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agile
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agileATC2013-Harshawardhan- Effective requirement management-in_distributed_agile
ATC2013-Harshawardhan- Effective requirement management-in_distributed_agile
 
Odd E验收测试驱动开发实战
Odd E验收测试驱动开发实战Odd E验收测试驱动开发实战
Odd E验收测试驱动开发实战
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
 
Use Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual TestingUse Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual Testing
 
Visual Studio 2010 Agile Tools (overview)
Visual Studio 2010 Agile Tools (overview)Visual Studio 2010 Agile Tools (overview)
Visual Studio 2010 Agile Tools (overview)
 
Agile webinar pack (2)
Agile webinar pack (2)Agile webinar pack (2)
Agile webinar pack (2)
 
Success Factors of FOSS Adoption
Success Factors of FOSS AdoptionSuccess Factors of FOSS Adoption
Success Factors of FOSS Adoption
 
Quality Metrics: The Dirty Word in the Room
Quality Metrics: The Dirty Word in the RoomQuality Metrics: The Dirty Word in the Room
Quality Metrics: The Dirty Word in the Room
 
devops-intro-181227144342.pptx devops ppt document
devops-intro-181227144342.pptx devops ppt  documentdevops-intro-181227144342.pptx devops ppt  document
devops-intro-181227144342.pptx devops ppt document
 
Agile testing
Agile testingAgile testing
Agile testing
 
Ensuring Success in the Cloud (1)
Ensuring Success in the Cloud (1)Ensuring Success in the Cloud (1)
Ensuring Success in the Cloud (1)
 
TLDSumanth_profile
TLDSumanth_profileTLDSumanth_profile
TLDSumanth_profile
 
Nature vs. Nurture: Building Great Test Teams
Nature vs. Nurture: Building Great Test TeamsNature vs. Nurture: Building Great Test Teams
Nature vs. Nurture: Building Great Test Teams
 
Helpful Practices in Agile Testing
Helpful Practices in Agile TestingHelpful Practices in Agile Testing
Helpful Practices in Agile Testing
 
Partnership Presentation (2)
Partnership Presentation (2)Partnership Presentation (2)
Partnership Presentation (2)
 
Partnership presentation (2)
Partnership presentation (2)Partnership presentation (2)
Partnership presentation (2)
 
Aman_Singh_QA 3
Aman_Singh_QA 3Aman_Singh_QA 3
Aman_Singh_QA 3
 
Aman singh qa 3
Aman singh qa 3Aman singh qa 3
Aman singh qa 3
 

More from Thoughtworks

Design System as a Product
Design System as a ProductDesign System as a Product
Design System as a Product
Thoughtworks
 
Designers, Developers & Dogs
Designers, Developers & DogsDesigners, Developers & Dogs
Designers, Developers & Dogs
Thoughtworks
 
Cloud-first for fast innovation
Cloud-first for fast innovationCloud-first for fast innovation
Cloud-first for fast innovation
Thoughtworks
 
More impact with flexible teams
More impact with flexible teamsMore impact with flexible teams
More impact with flexible teams
Thoughtworks
 
Culture of Innovation
Culture of InnovationCulture of Innovation
Culture of Innovation
Thoughtworks
 
Dual-Track Agile
Dual-Track AgileDual-Track Agile
Dual-Track Agile
Thoughtworks
 
Developer Experience
Developer ExperienceDeveloper Experience
Developer Experience
Thoughtworks
 
When we design together
When we design togetherWhen we design together
When we design together
Thoughtworks
 
Hardware is hard(er)
Hardware is hard(er)Hardware is hard(er)
Hardware is hard(er)
Thoughtworks
 
Customer-centric innovation enabled by cloud
 Customer-centric innovation enabled by cloud Customer-centric innovation enabled by cloud
Customer-centric innovation enabled by cloud
Thoughtworks
 
Amazon's Culture of Innovation
Amazon's Culture of InnovationAmazon's Culture of Innovation
Amazon's Culture of Innovation
Thoughtworks
 
When in doubt, go live
When in doubt, go liveWhen in doubt, go live
When in doubt, go live
Thoughtworks
 
Don't cross the Rubicon
Don't cross the RubiconDon't cross the Rubicon
Don't cross the Rubicon
Thoughtworks
 
Error handling
Error handlingError handling
Error handling
Thoughtworks
 
Your test coverage is a lie!
Your test coverage is a lie!Your test coverage is a lie!
Your test coverage is a lie!
Thoughtworks
 
Docker container security
Docker container securityDocker container security
Docker container security
Thoughtworks
 
Redefining the unit
Redefining the unitRedefining the unit
Redefining the unit
Thoughtworks
 
Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22
Thoughtworks
 
A Tribute to Turing
A Tribute to TuringA Tribute to Turing
A Tribute to Turing
Thoughtworks
 
Rsa maths worked out
Rsa maths worked outRsa maths worked out
Rsa maths worked out
Thoughtworks
 

More from Thoughtworks (20)

Design System as a Product
Design System as a ProductDesign System as a Product
Design System as a Product
 
Designers, Developers & Dogs
Designers, Developers & DogsDesigners, Developers & Dogs
Designers, Developers & Dogs
 
Cloud-first for fast innovation
Cloud-first for fast innovationCloud-first for fast innovation
Cloud-first for fast innovation
 
More impact with flexible teams
More impact with flexible teamsMore impact with flexible teams
More impact with flexible teams
 
Culture of Innovation
Culture of InnovationCulture of Innovation
Culture of Innovation
 
Dual-Track Agile
Dual-Track AgileDual-Track Agile
Dual-Track Agile
 
Developer Experience
Developer ExperienceDeveloper Experience
Developer Experience
 
When we design together
When we design togetherWhen we design together
When we design together
 
Hardware is hard(er)
Hardware is hard(er)Hardware is hard(er)
Hardware is hard(er)
 
Customer-centric innovation enabled by cloud
 Customer-centric innovation enabled by cloud Customer-centric innovation enabled by cloud
Customer-centric innovation enabled by cloud
 
Amazon's Culture of Innovation
Amazon's Culture of InnovationAmazon's Culture of Innovation
Amazon's Culture of Innovation
 
When in doubt, go live
When in doubt, go liveWhen in doubt, go live
When in doubt, go live
 
Don't cross the Rubicon
Don't cross the RubiconDon't cross the Rubicon
Don't cross the Rubicon
 
Error handling
Error handlingError handling
Error handling
 
Your test coverage is a lie!
Your test coverage is a lie!Your test coverage is a lie!
Your test coverage is a lie!
 
Docker container security
Docker container securityDocker container security
Docker container security
 
Redefining the unit
Redefining the unitRedefining the unit
Redefining the unit
 
Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22
 
A Tribute to Turing
A Tribute to TuringA Tribute to Turing
A Tribute to Turing
 
Rsa maths worked out
Rsa maths worked outRsa maths worked out
Rsa maths worked out
 

Recently uploaded

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
ViralQR
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 

Recently uploaded (20)

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.Welocme to ViralQR, your best QR code generator.
Welocme to ViralQR, your best QR code generator.
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 

Specifications for Enterprise Testing

  • 1. December 2011 Specifications For Enterprise Testing Presenters Sathyan Sethumadhavan & Shalabh Varma
  • 2. Agenda Where do we spend more time A new approach for collaboration Implement Specifications Gauge Progress Q&A Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 3. Do you experience any of this Defects Leakage Missing Requirements Test and Requirements documents becomes stale Frequent changes Breaks existing functionalities Long Regression Cycles Less confidence Existing test coverage Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved. Spends more time on defect management and triage
  • 4. Do you spend more time here Creating test Cases/Steps Requirements document Fix production Defects Traceability Matrix Defect Management Creating test plan and strategy Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 5. Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 6. Specifications Driven Development Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 8. Specifications – Focus Area Requirements document Specifications for both humans and machines Traceability Matrix Fix production defects Creating test cases Creating test plan and strategy Managing stale artifcats Tests as Documentation Defect management and analysis Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved. Specifying Collaborately Validating Frequently
  • 9. A Good Specification Examples should be complete Precise and Testable True Specification – Not a script About business functionality – Not software design Self-explanatory and focused Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 10. A Good Specification Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 11. A Good Specification Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 12. Benefits Distributed teams - Necessary artifacts and re-use artifacts One-time specification – Referred by stakeholders and team Artifacts remain as living documents Focus on collaboration and communication gap More time on exploratory/business testing Time-to-market availability Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 13. Specifications – Key Process Patterns Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 14. Key Process Patterns Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 15. Key Process Patterns - Goals Understand customer’s business requirements Understand the “Why” and “Who” Understand the intent and value Understand the Output Team delivers complete feature Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 16. Key Process Patterns - Collaboration Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 17. Key Process Patterns - Examples Requirements - Don’t provide full and unambiguous context Don’t have Yes/No answers in your example Ask for alternate way for validation Avoid making up your own data Avoid temptation to explore all possibility Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 18. Key Process Patterns - Refining Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 19. Key Process Patterns - Refining Don’t create workflow like descriptions Don’t get trapped in user interface details Show and lets the user understand Refined Examples = Acceptance criteria for delivery Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 20. Key Process Patterns - Refining Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 21. Key Process Patterns - Automation Plan for automation upfront Don’t delegate automation towards the end Avoid automating existing manual scripts Automate along system boundaries with necessary context Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved. Automated Specification = Executable Specification
  • 22. Key Process Patterns - Automation Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 23. Key Process Patterns - Validation Fix the most annoying thing, fix it and repeat Simpler test doubles for external systems Isolated environment and fully automated deployments Look for ways for faster feedback Don’t just disable failing tests Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 24. Key Process Patterns – Living Documentation Don’t create long specifications Avoid using technical concepts in tests Base specification on personas Evolve the ubiquitous language and use it consistently. Organize based on functional areas Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 25. Implementing Specifications Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 26. Greenfield Implement as part of the big process change Use TDD as a first step towards Specifications Follow the key process patterns Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 27. Existing Projects Start with automated tests Don’t talk process or jargon words Don’t make test automation end goal Our Focus - Collaboration and processchange Executable specification in the same codebase Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 28. Gauge Progress Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 29. Gauge Progress Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 30. Take Away Distributed teams - Necessary artifacts and re-use artifacts One-time specification – Referred by stakeholders and team Artifacts remain as living documents Focus on collaboration and communication gap More time on exploratory/business testing Time-to-market availability Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 31. Case Studies Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 32. Case Studies Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 33. Tools Twist - http://studios.thoughtworks.com/twist-agile-testautomation/ Cucumber – http://cukes.info Concordion – http://www.concordion.org FitNesse - http://fitnesse.org Jbehave - http://jbehave.org GreenPepper: http://www.greenpeppersoftware.com. Robot Framework: http://www.robotframework.org SpecFlow: http://www.specflow.org TextTest: http://www.texttest.org Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.
  • 35. References a. Specification by example and Manning the specificationGojko Adzic b. Projects implemented SDD in real-time Private and Confidential. © 2011 ThoughtWorks, Ltd. All rights reserved.

Editor's Notes

  1. Start with automated tests Collaboration between testers and developers More time spent on exploratory testing Don’t talk process or jargon words Show failing tests Don’t make test automation end goal Our Focus Collaboration and process-change
  2. Don’t forget to update contact details ;-)