SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Writing Test Cases in Agile 
Presented By: Saroj Singh
What is a 
test Case 
IEEE Standard 610 (1990) defines test case as follows: 
A set of test inputs, execution conditions, and expected results developed for a 
particular objective, such as to exercise a particular program path or to verify 
compliance with a specific requirement.
Sample 
Template
A Good 
Test Case 
1. Maintainable 
2. Repeatable 
3. Traceable 
4. Efficient 
5. Executable by other Testers 
6. Independently executable
Fields in 
test cases: 
1. Test case id 
2. Test Title/Summary 
3. Prerequisite 
4. Test Description 
5. Test Data 
6. Steps to be Executed 
7. Expected Result 
8. Actual Result
Levels 
Level 1: Basic test cases from the available specification and user 
stories.Based on Business and Functional/Technical requirements, use cases 
and Technical design documents 
Level 2: Practical stage in which writing test cases depend on actual functional 
and system flow of the application. 
Level 3: This is the stage in which you will group some test cases and write a 
test procedure. Test procedure is nothing but a group of small test cases. 
Level 4: Automation of the project. Saves time in regression testing
Practical 
Approach to 
Creating Agile 
Test Cases 
● Test case discovery happens throughout the sprint process. 
● Exploratory testing will uncover the hidden cases and expand to better 
coverage. 
● Overall, creating test cases in agile is a challenging process. 
● Start with happy path and take following step by step approach to expand 
coverage.
Why we write 
Test Cases 
● To assure Quality 
● To have better test coverage 
● To have consistency in test execution 
● To avoid training every new test engineer on the product 
● To depend on process rather than a person 
● To be used as proof to client for Test areas covered
Pros 
● Reused again and again(Regression/Retest) 
● Form basis for automated test cases down the line 
● You find black holes of your design which aren’t covered with user stories, 
or requirements 
● To provide documentary evidence of exactly what you tested 
● Helps in adhering to legal requirements 
● Can be used to provide estimate for regression time by QA
Cons 
● Maintaining test cases a problem due to changing requirements. 
● Capturing all scenarios in test cases is a challenge;exploratory testing helps 
in agile. 
● Test cases are sometimes not worth writing for very small projects(duration)
Thank You 
Comments,Questions?
References 
● http://josephvargheese.wordpress.com/2012/11/04/practical-approach-in-creating- 
agile-test-cases/ 
● http://www.agileconnection.com/article/do-you-need-write-test-cases 
● http://en.wikipedia.org/wiki/Test_case 
● http://www.softwaretestinghelp.com/how-to-write-effective-test-cases-test-cases- 
procedures-and-definitions/ 
● http://www.allinterview.com/showanswers/57788.html 
● http://www.testandtry.com/2010/02/24/8-tips-to-create-complete-test-cases/ 
● http://blogs.msdn.com/b/chappell/archive/2004/04/05/108159.aspx

Weitere ähnliche Inhalte

Was ist angesagt?

Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
Seyed Ali Marjaie
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
Nishant Worah
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 
User Acceptance Testing (Uat)
User Acceptance Testing (Uat)User Acceptance Testing (Uat)
User Acceptance Testing (Uat)
Thomas Martin
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
Intetics
 

Was ist angesagt? (20)

Agile testing
Agile testingAgile testing
Agile testing
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
Understanding Unit Testing
Understanding Unit TestingUnderstanding Unit Testing
Understanding Unit Testing
 
Manual testing interview question by INFOTECH
Manual testing interview question by INFOTECHManual testing interview question by INFOTECH
Manual testing interview question by INFOTECH
 
Test plan
Test planTest plan
Test plan
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
So you think you can write a test case
So you think you can write a test caseSo you think you can write a test case
So you think you can write a test case
 
Test automation
Test automationTest automation
Test automation
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
QA Best Practices in Agile World_new
QA Best Practices in Agile World_newQA Best Practices in Agile World_new
QA Best Practices in Agile World_new
 
Software testing
Software testingSoftware testing
Software testing
 
manual-testing
manual-testingmanual-testing
manual-testing
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
ISTQB Test level, Test type
ISTQB Test level, Test typeISTQB Test level, Test type
ISTQB Test level, Test type
 
User Acceptance Testing (Uat)
User Acceptance Testing (Uat)User Acceptance Testing (Uat)
User Acceptance Testing (Uat)
 
Test automation process
Test automation processTest automation process
Test automation process
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 

Andere mochten auch

Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Generic test cases guidelines
Generic test cases guidelinesGeneric test cases guidelines
Generic test cases guidelines
krishna kishore
 
Desktop applicationtesting
Desktop applicationtestingDesktop applicationtesting
Desktop applicationtesting
Akss004
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
tharindakasun
 
How to Profit from Factoring 2015
How to Profit from Factoring 2015How to Profit from Factoring 2015
How to Profit from Factoring 2015
Michael Ponomarew
 

Andere mochten auch (17)

Amazon search test case document
Amazon search test case documentAmazon search test case document
Amazon search test case document
 
Ecommerce Website Testing Checklist
Ecommerce Website Testing ChecklistEcommerce Website Testing Checklist
Ecommerce Website Testing Checklist
 
Testing Plan Test Case
Testing Plan Test CaseTesting Plan Test Case
Testing Plan Test Case
 
Checklist for website testing
Checklist for website testingChecklist for website testing
Checklist for website testing
 
An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)
 
Window Desktop Application Testing
Window Desktop Application TestingWindow Desktop Application Testing
Window Desktop Application Testing
 
uTest Course Summary: Test case writing course
uTest Course Summary: Test case writing courseuTest Course Summary: Test case writing course
uTest Course Summary: Test case writing course
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Generic test cases guidelines
Generic test cases guidelinesGeneric test cases guidelines
Generic test cases guidelines
 
Desktop applicationtesting
Desktop applicationtestingDesktop applicationtesting
Desktop applicationtesting
 
Test cases for testing mobile phone
Test cases for testing mobile phoneTest cases for testing mobile phone
Test cases for testing mobile phone
 
Beginners QA Testing
Beginners QA TestingBeginners QA Testing
Beginners QA Testing
 
Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
E commerce Testing
E commerce TestingE commerce Testing
E commerce Testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Test planning
Test planningTest planning
Test planning
 
How to Profit from Factoring 2015
How to Profit from Factoring 2015How to Profit from Factoring 2015
How to Profit from Factoring 2015
 

Ähnlich wie Writing Test Cases in Agile

SWT2_tim.pptx
SWT2_tim.pptxSWT2_tim.pptx
SWT2_tim.pptx
BnhT27
 
Automated
AutomatedAutomated
Automated
ingveb
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
TestingGeeks
 

Ähnlich wie Writing Test Cases in Agile (20)

SWT2_tim.pptx
SWT2_tim.pptxSWT2_tim.pptx
SWT2_tim.pptx
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testing
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Test analysis & design good practices@TDT Iasi 17Oct2013
Test analysis & design   good practices@TDT Iasi 17Oct2013Test analysis & design   good practices@TDT Iasi 17Oct2013
Test analysis & design good practices@TDT Iasi 17Oct2013
 
1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
 
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013Implementing test scripting   Ian McDonald updated (minor changes) 26-04-2013
Implementing test scripting Ian McDonald updated (minor changes) 26-04-2013
 
Class 01.pptx
Class 01.pptxClass 01.pptx
Class 01.pptx
 
1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
 
Test Driven Development – What Works And What Doesn’t
Test Driven Development – What Works And What Doesn’t Test Driven Development – What Works And What Doesn’t
Test Driven Development – What Works And What Doesn’t
 
Unit v
Unit vUnit v
Unit v
 
7 steps to Software test automation success
7 steps to Software test automation success7 steps to Software test automation success
7 steps to Software test automation success
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answers
 
Automated
AutomatedAutomated
Automated
 
Incorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development ProcessIncorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development Process
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
 
Agile Testing Analytics
Agile Testing AnalyticsAgile Testing Analytics
Agile Testing Analytics
 
Independent verification & validation presented by Maneat v02
Independent verification & validation presented by Maneat v02Independent verification & validation presented by Maneat v02
Independent verification & validation presented by Maneat v02
 
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАТЕРИНА АБЗЯТОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
 
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
 

Kürzlich hochgeladen

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Kürzlich hochgeladen (20)

tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 

Writing Test Cases in Agile

  • 1. Writing Test Cases in Agile Presented By: Saroj Singh
  • 2. What is a test Case IEEE Standard 610 (1990) defines test case as follows: A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement.
  • 4. A Good Test Case 1. Maintainable 2. Repeatable 3. Traceable 4. Efficient 5. Executable by other Testers 6. Independently executable
  • 5. Fields in test cases: 1. Test case id 2. Test Title/Summary 3. Prerequisite 4. Test Description 5. Test Data 6. Steps to be Executed 7. Expected Result 8. Actual Result
  • 6. Levels Level 1: Basic test cases from the available specification and user stories.Based on Business and Functional/Technical requirements, use cases and Technical design documents Level 2: Practical stage in which writing test cases depend on actual functional and system flow of the application. Level 3: This is the stage in which you will group some test cases and write a test procedure. Test procedure is nothing but a group of small test cases. Level 4: Automation of the project. Saves time in regression testing
  • 7. Practical Approach to Creating Agile Test Cases ● Test case discovery happens throughout the sprint process. ● Exploratory testing will uncover the hidden cases and expand to better coverage. ● Overall, creating test cases in agile is a challenging process. ● Start with happy path and take following step by step approach to expand coverage.
  • 8. Why we write Test Cases ● To assure Quality ● To have better test coverage ● To have consistency in test execution ● To avoid training every new test engineer on the product ● To depend on process rather than a person ● To be used as proof to client for Test areas covered
  • 9. Pros ● Reused again and again(Regression/Retest) ● Form basis for automated test cases down the line ● You find black holes of your design which aren’t covered with user stories, or requirements ● To provide documentary evidence of exactly what you tested ● Helps in adhering to legal requirements ● Can be used to provide estimate for regression time by QA
  • 10. Cons ● Maintaining test cases a problem due to changing requirements. ● Capturing all scenarios in test cases is a challenge;exploratory testing helps in agile. ● Test cases are sometimes not worth writing for very small projects(duration)
  • 12. References ● http://josephvargheese.wordpress.com/2012/11/04/practical-approach-in-creating- agile-test-cases/ ● http://www.agileconnection.com/article/do-you-need-write-test-cases ● http://en.wikipedia.org/wiki/Test_case ● http://www.softwaretestinghelp.com/how-to-write-effective-test-cases-test-cases- procedures-and-definitions/ ● http://www.allinterview.com/showanswers/57788.html ● http://www.testandtry.com/2010/02/24/8-tips-to-create-complete-test-cases/ ● http://blogs.msdn.com/b/chappell/archive/2004/04/05/108159.aspx