SlideShare une entreprise Scribd logo
1  sur  35
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.

Contenu connexe

Tendances

TestPRO Profile v4.1
TestPRO Profile v4.1TestPRO Profile v4.1
TestPRO Profile v4.1Samer Desouky
 
Agile Testing Agile Ottawa April 2015
Agile Testing   Agile Ottawa April 2015Agile Testing   Agile Ottawa April 2015
Agile Testing Agile Ottawa April 2015Dag 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 FutureTEST 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 CertificationCristina Vidu
 
Performance Testing in the Agile Lifecycle
Performance Testing in the Agile LifecyclePerformance Testing in the Agile Lifecycle
Performance Testing in the Agile LifecycleTechWell
 
Quality Engineering in the New Era
Quality Engineering in the New EraQuality Engineering in the New Era
Quality Engineering in the New EraCygnet 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 ApproachTechWell
 

Tendances (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
 

En vedette

电子阅读器的替代者
电子阅读器的替代者电子阅读器的替代者
电子阅读器的替代者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 NOPSAThoughtworks
 

En vedette (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
 

Similaire à Specifications for Enterprise Testing

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 LanguageTechWell
 
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 MoreTechWell
 
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 TestingTechWell
 
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 RoomJosiah 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 documentpoothuinku
 
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 TeamsJosiah Renaudin
 
Helpful Practices in Agile Testing
Helpful Practices in Agile TestingHelpful Practices in Agile Testing
Helpful Practices in Agile TestingJosiah 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
 

Similaire à 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
 

Plus de Thoughtworks

Design System as a Product
Design System as a ProductDesign System as a Product
Design System as a ProductThoughtworks
 
Designers, Developers & Dogs
Designers, Developers & DogsDesigners, Developers & Dogs
Designers, Developers & DogsThoughtworks
 
Cloud-first for fast innovation
Cloud-first for fast innovationCloud-first for fast innovation
Cloud-first for fast innovationThoughtworks
 
More impact with flexible teams
More impact with flexible teamsMore impact with flexible teams
More impact with flexible teamsThoughtworks
 
Culture of Innovation
Culture of InnovationCulture of Innovation
Culture of InnovationThoughtworks
 
Developer Experience
Developer ExperienceDeveloper Experience
Developer ExperienceThoughtworks
 
When we design together
When we design togetherWhen we design together
When we design togetherThoughtworks
 
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 cloudThoughtworks
 
Amazon's Culture of Innovation
Amazon's Culture of InnovationAmazon's Culture of Innovation
Amazon's Culture of InnovationThoughtworks
 
When in doubt, go live
When in doubt, go liveWhen in doubt, go live
When in doubt, go liveThoughtworks
 
Don't cross the Rubicon
Don't cross the RubiconDon't cross the Rubicon
Don't cross the RubiconThoughtworks
 
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 securityThoughtworks
 
Redefining the unit
Redefining the unitRedefining the unit
Redefining the unitThoughtworks
 
Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22Technology Radar Webinar UK - Vol. 22
Technology Radar Webinar UK - Vol. 22Thoughtworks
 
A Tribute to Turing
A Tribute to TuringA Tribute to Turing
A Tribute to TuringThoughtworks
 
Rsa maths worked out
Rsa maths worked outRsa maths worked out
Rsa maths worked outThoughtworks
 

Plus de 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
 

Dernier

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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.

Notes de l'éditeur

  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 ;-)