SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Test Case
Test Analysis
Test Design Techniques
Selection
Test Design
Specification
Test Case Specification
Test Plan
SRS
Mock-ups
Test Design
Specification
…
Test Case
Specification
Trainings’ Content
What is Test Case?
 Test case is:
– a set of input values, execution preconditions, expected results and
execution, post conditions, developed for a particular objective or
test condition, such as to exercise a particular program path or to
verify compliance with a specific requirement
– documentation specifying inputs, predicted results, and a set of
execution conditions for a test item
according to Standard Glossary of Software Engineering (IEEE 610)
Test Case Structure
 Depending on the particular project Test Case might consists of:
Attachment
Test Case
Name
Description
/ Objective
Priority
Test Steps
Expected
Result
Test Inputs
/ Test Data
Actual
Result
Test Case
ID
Test Case
Type
Automation
Status
Pre-
condition
Execution
Result /
Status
Test Case
Structure
Requirements
Test Design
Test Case
Test Case Example
Test Case Example
 Test Case Specification – a document specifying a set of test cases
(objective, inputs, test actions, expected results, and execution preconditions) for a
test item (After IEEE-829)
 According to IEEE 829 Test Case Specification consists of:
1. Test case specification identifier
2. Test items
3. Input and Output specifications
4. Environmental needs
5. Special procedural requirements
6. Inter-case dependencies
Test Case Specification
Test Design & Test Case Specifications
Test Design Specifications Test Case Specifications
Objective To identify set of features
or combination of
features to be tested.
To specify in details each
test listed in Test Design
Specification.
Content The list of all tests, test
scenarios and checklists
that will be created for
testing of some feature
during particular testing
stage.
Only test cases.
Test Data Does not record the
values to be entered for a
test, but describes the
requirements for defining
those values.
Specifies test data for use
in running the test
conditions identified in
Test Design Specification.
Goals of writing Test Cases:
 Testing efficiency: the idea is to write test cases based on design
while code is incomplete, so that we could test product quickly
once the code is ready
 Early bug detection: errors in code can be prevented before the
coding is done, also new test ideas will be generated
 Test credibility: test cases are supposed part of the deliverable to
the customer
 Ability to cover all parts of the requirements
 Legal documents of testing work, in case information is needed
for law suits
 Ability to track history while iterations
 Usefulness while bringing in new testers
Goals
 Write short test cases (up to 10-15 steps)
 Use simple English and general words
 Write test cases to quick and easy to determine
the expected result
 Provide test data if possible
 Write in details SQL queries (it will save time while
executing)
 Add reference to bugs and requirements
 Add some notes in case you want to convey
additional information
 Highlight important things, marking them in bold
or assigning them color or writing in different font
Best Practices
Thank You!

Weitere ähnliche Inhalte

Was ist angesagt?

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 

Was ist angesagt? (20)

Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Test cases
Test casesTest cases
Test cases
 
Software Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s GuideSoftware Testing Life Cycle – A Beginner’s Guide
Software Testing Life Cycle – A Beginner’s Guide
 
CTFL chapter 05
CTFL chapter 05CTFL chapter 05
CTFL chapter 05
 
Stlc ppt
Stlc pptStlc ppt
Stlc ppt
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers38475471 qa-and-software-testing-interview-questions-and-answers
38475471 qa-and-software-testing-interview-questions-and-answers
 
Writing Test Cases 20110808
Writing Test Cases 20110808Writing Test Cases 20110808
Writing Test Cases 20110808
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Test Execution
Test ExecutionTest Execution
Test Execution
 
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFLINTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
INTRODUCTION TO ISTQB FOUNDATION LEVEL - CTFL
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Test case design
Test case designTest case design
Test case design
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
ISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture NotesISTQB, ISEB Lecture Notes
ISTQB, ISEB Lecture Notes
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 

Andere mochten auch

Test Case Management with MTM 2013
Test Case Management with MTM 2013Test Case Management with MTM 2013
Test Case Management with MTM 2013
Raluca Suditu
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
shraavank
 
Random testing
Random testingRandom testing
Random testing
Can KAYA
 
Data structure computer graphs
Data structure computer graphsData structure computer graphs
Data structure computer graphs
Kumar
 
Graph data structure
Graph data structureGraph data structure
Graph data structure
Tech_MX
 
Testcase definition
Testcase definitionTestcase definition
Testcase definition
Oana Feidi
 

Andere mochten auch (20)

Test Case Management with MTM 2013
Test Case Management with MTM 2013Test Case Management with MTM 2013
Test Case Management with MTM 2013
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
RAS Mains Result and Cut Off
RAS Mains Result and Cut OffRAS Mains Result and Cut Off
RAS Mains Result and Cut Off
 
Graphs
GraphsGraphs
Graphs
 
Intro to Microsoft Test Manager
Intro to Microsoft Test ManagerIntro to Microsoft Test Manager
Intro to Microsoft Test Manager
 
Software Verification, Validation and Testing
Software Verification, Validation and TestingSoftware Verification, Validation and Testing
Software Verification, Validation and Testing
 
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
Random testing
Random testingRandom testing
Random testing
 
Data structure computer graphs
Data structure computer graphsData structure computer graphs
Data structure computer graphs
 
Blackbox
BlackboxBlackbox
Blackbox
 
Data Structures - Lecture 10 [Graphs]
Data Structures - Lecture 10 [Graphs]Data Structures - Lecture 10 [Graphs]
Data Structures - Lecture 10 [Graphs]
 
Test plan
Test planTest plan
Test plan
 
Graph data structure
Graph data structureGraph data structure
Graph data structure
 
Lecture8 data structure(graph)
Lecture8 data structure(graph)Lecture8 data structure(graph)
Lecture8 data structure(graph)
 
Test planning
Test planningTest planning
Test planning
 
Software Testing Techniques
Software Testing TechniquesSoftware Testing Techniques
Software Testing Techniques
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Testcase definition
Testcase definitionTestcase definition
Testcase definition
 

Ähnlich wie Test cases

Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
TestingGeeks
 
Testcase definition
Testcase definitionTestcase definition
Testcase definition
Oana Feidi
 
Automated Unit Testing
Automated Unit Testing Automated Unit Testing
Automated Unit Testing
Simon Boorsma
 
Strategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source FrameworksStrategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source Frameworks
Dimitry Polivaev
 
Testing documents
Testing documentsTesting documents
Testing documents
suhasreddy1
 

Ähnlich wie Test cases (20)

Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
Mt s11 test_design
Mt s11 test_designMt s11 test_design
Mt s11 test_design
 
Testing process
Testing processTesting process
Testing process
 
Test cases planning
Test cases planningTest cases planning
Test cases planning
 
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
 
Testing
TestingTesting
Testing
 
Testing
TestingTesting
Testing
 
Testify smart testoptimization-ecfeed
Testify smart testoptimization-ecfeedTestify smart testoptimization-ecfeed
Testify smart testoptimization-ecfeed
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
stlc
stlcstlc
stlc
 
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
 
Netserv Software Testing
Netserv Software TestingNetserv Software Testing
Netserv Software Testing
 
Testcase definition
Testcase definitionTestcase definition
Testcase definition
 
L software testing
L   software testingL   software testing
L software testing
 
Automated Unit Testing
Automated Unit Testing Automated Unit Testing
Automated Unit Testing
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
 
ATDD in Practice
ATDD in PracticeATDD in Practice
ATDD in Practice
 
Strategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source FrameworksStrategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source Frameworks
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Testing documents
Testing documentsTesting documents
Testing documents
 

Mehr von Nataly Chill

Mehr von Nataly Chill (6)

Bug tracking tool
Bug tracking toolBug tracking tool
Bug tracking tool
 
Test design
Test designTest design
Test design
 
Requirements presentation
Requirements presentationRequirements presentation
Requirements presentation
 
Testing types 2
Testing types 2Testing types 2
Testing types 2
 
Testing types (simple)1
Testing types (simple)1Testing types (simple)1
Testing types (simple)1
 
Scrum
ScrumScrum
Scrum
 

Kürzlich hochgeladen

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Kürzlich hochgeladen (20)

Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 

Test cases

  • 2. Test Analysis Test Design Techniques Selection Test Design Specification Test Case Specification Test Plan SRS Mock-ups Test Design Specification … Test Case Specification Trainings’ Content
  • 3. What is Test Case?  Test case is: – a set of input values, execution preconditions, expected results and execution, post conditions, developed for a particular objective or test condition, such as to exercise a particular program path or to verify compliance with a specific requirement – documentation specifying inputs, predicted results, and a set of execution conditions for a test item according to Standard Glossary of Software Engineering (IEEE 610)
  • 4. Test Case Structure  Depending on the particular project Test Case might consists of: Attachment Test Case Name Description / Objective Priority Test Steps Expected Result Test Inputs / Test Data Actual Result Test Case ID Test Case Type Automation Status Pre- condition Execution Result / Status Test Case Structure
  • 7.  Test Case Specification – a document specifying a set of test cases (objective, inputs, test actions, expected results, and execution preconditions) for a test item (After IEEE-829)  According to IEEE 829 Test Case Specification consists of: 1. Test case specification identifier 2. Test items 3. Input and Output specifications 4. Environmental needs 5. Special procedural requirements 6. Inter-case dependencies Test Case Specification
  • 8. Test Design & Test Case Specifications Test Design Specifications Test Case Specifications Objective To identify set of features or combination of features to be tested. To specify in details each test listed in Test Design Specification. Content The list of all tests, test scenarios and checklists that will be created for testing of some feature during particular testing stage. Only test cases. Test Data Does not record the values to be entered for a test, but describes the requirements for defining those values. Specifies test data for use in running the test conditions identified in Test Design Specification.
  • 9. Goals of writing Test Cases:  Testing efficiency: the idea is to write test cases based on design while code is incomplete, so that we could test product quickly once the code is ready  Early bug detection: errors in code can be prevented before the coding is done, also new test ideas will be generated  Test credibility: test cases are supposed part of the deliverable to the customer  Ability to cover all parts of the requirements  Legal documents of testing work, in case information is needed for law suits  Ability to track history while iterations  Usefulness while bringing in new testers Goals
  • 10.  Write short test cases (up to 10-15 steps)  Use simple English and general words  Write test cases to quick and easy to determine the expected result  Provide test data if possible  Write in details SQL queries (it will save time while executing)  Add reference to bugs and requirements  Add some notes in case you want to convey additional information  Highlight important things, marking them in bold or assigning them color or writing in different font Best Practices

Hinweis der Redaktion

  1. Parts of test cases that must be for all project are in green.