SlideShare a Scribd company logo
Test Case Creation
What is a Test Case?
Definition:
 A set of conditions or variables under which a QA will determine whether a system under test
satisfies requirements or works correctly.
 How the application is to be tested
 Miniature experiments
Structure and testability
The test case MUST follow these rules
 Should be structured
 Has actions and expected results
 Does not exceed 15 steps
 Has a stated purpose that includes what is being tested
 Has a description of the method of the testing (black box, grey box)
 Specifies setup information - environment, data, secure access
Structure
Test Suite ID The ID of the test suite to which this test case belongs.
Test Case ID The ID of the test case.
Test Case Name The description of what the test case does. Must be unique and self - explanatory
Test Case
Summary
The summary / objective of the test case.
Related
Requirement
The link of the requirement or of the bug this test case relates/traces to.
Prerequisites Any prerequisites or preconditions that must be fulfilled prior to executing the test.
Test Procedure/
Test Step
Step-by-step procedure to execute the test. Detail explanation of an action that needs to be
Test Data The test data, or links to the test data, that are to be used while conducting the test.
Expected Result The expected result of the test.
Actual Result The actual result of the test; to be filled after executing the test.
Status Pass or Fail. Other statuses can be ‘Not Executed’ if testing is not performed and ‘Blocked’ if
Remarks Any comments on the test case or test execution.
Created By The name of the author of the test case.
Date of Creation The date of creation of the test case.
Executed By The name of the person who executed the test.
Date of Execution The date of execution of the test.
Test Environment The environment (Hardware/Software/Network) in which the test was executed.
Area Areas depend on the process used to support your project within the team. According to the
You add areas to support to support your team’s trace-ability. Use areas to represent logical
feature
Iteration Group into sprints, milestones or other event-specific or time- related period. You define as m
Status of
automation
Status that reflects the state of the TC automation
Test Case Size The test case describes in details what has to be done. Too long test cases are not economica
exceed 15 steps.
Has Purpose The test case must always cover a requirement/bug/feature/functionality
Method of testing
 Black box
 Behavioral testing, is a method in which the internal implementation of the item being tested is not
known. Tests can be functional and non- functional. This method attempts to find errors in the
following categories:
 Incorrect or missing functions
 Interface errors
 Errors in data structures or external database access
 Behavior or performance errors
 Initialization and termination errors
 Grey box
 The tester has limited knowledge of the internal details of the item being tested. This method
attempts to find integration errors
Setup information - environment, data, prerequisite tests, security access
As to execute a test case, test data is a must. Environment in which the test is performed is
also required because it affects the test results. Test data and test environment are tightly
connected. The test environment must always correspond with the production environment. The test
data must always correspond with the real data.
Quality Attributes
 Accurate - tests what the description says it will test
 Economical - has only the steps needed for its purpose
 Repeatable, self-standing - same results no matter who tests it.
 Appropriate - for both immediate and future testers
 Traceable -linked to a requirement, pbi, bug
Test Case Considerations
 Environment on which the test is run must be suitable.
 Test data and test environment are tightly connected.
 The test environment must always correspond with the production environment.
 The test data must always correspond with the real data.
 Test data should be kept as up to date with the live databases as possible.

More Related Content

What's hot

Countries’ presentation on internal quality control: Malaysia
Countries’ presentation on internal quality control: MalaysiaCountries’ presentation on internal quality control: Malaysia
Countries’ presentation on internal quality control: Malaysia
ExternalEvents
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
James Coleman
 
Test Case Design and Design Techniques
Test Case Design and Design TechniquesTest Case Design and Design Techniques
Test Case Design and Design Techniques
Murageppa-QA
 
Identifying test conditions and designing tests cases
Identifying test conditions and designing tests casesIdentifying test conditions and designing tests cases
Identifying test conditions and designing tests cases
Vaibhav Dash
 
Test cases
Test casesTest cases
Test cases
Nataly Chill
 
Countries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: IndonesiaCountries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: Indonesia
ExternalEvents
 
Unit testing - An introduction
Unit testing - An introductionUnit testing - An introduction
Unit testing - An introduction
Alejandro Claro Mosqueda
 
Requirement Cheat Sheet
Requirement Cheat SheetRequirement Cheat Sheet
Requirement Cheat Sheet
Fred Genett
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
Sneha Singh
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
Lokesh Agrawal
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
Charles D. Carson, MSSWE, CSM, ASQ-CSQE
 
Software Testing
Software TestingSoftware Testing
Software Testing
Kiran Kumar
 
Black box testing methods for software components
Black box testing methods for software componentsBlack box testing methods for software components
Black box testing methods for software components
putiadetiara
 
Fundamental Test Process New
Fundamental Test Process NewFundamental Test Process New
Fundamental Test Process New
Nikita Knysh
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
ReginaKhalida
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 
Blackbox
BlackboxBlackbox
Blackbox
GuruKrishnaTeja
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
Kiran Kumar
 
AgileTD: Experimenting in Context for Exploratory Testing
AgileTD: Experimenting in Context for Exploratory TestingAgileTD: Experimenting in Context for Exploratory Testing
AgileTD: Experimenting in Context for Exploratory Testing
Maaret Pyhäjärvi
 
Software Testing
Software TestingSoftware Testing
Software Testing
Kiran Kumar
 

What's hot (20)

Countries’ presentation on internal quality control: Malaysia
Countries’ presentation on internal quality control: MalaysiaCountries’ presentation on internal quality control: Malaysia
Countries’ presentation on internal quality control: Malaysia
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
 
Test Case Design and Design Techniques
Test Case Design and Design TechniquesTest Case Design and Design Techniques
Test Case Design and Design Techniques
 
Identifying test conditions and designing tests cases
Identifying test conditions and designing tests casesIdentifying test conditions and designing tests cases
Identifying test conditions and designing tests cases
 
Test cases
Test casesTest cases
Test cases
 
Countries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: IndonesiaCountries’ presentation on internal quality control: Indonesia
Countries’ presentation on internal quality control: Indonesia
 
Unit testing - An introduction
Unit testing - An introductionUnit testing - An introduction
Unit testing - An introduction
 
Requirement Cheat Sheet
Requirement Cheat SheetRequirement Cheat Sheet
Requirement Cheat Sheet
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
 
Effective Software Test Case Design Approach
Effective Software Test Case Design ApproachEffective Software Test Case Design Approach
Effective Software Test Case Design Approach
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Black box testing methods for software components
Black box testing methods for software componentsBlack box testing methods for software components
Black box testing methods for software components
 
Fundamental Test Process New
Fundamental Test Process NewFundamental Test Process New
Fundamental Test Process New
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 
Blackbox
BlackboxBlackbox
Blackbox
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
AgileTD: Experimenting in Context for Exploratory Testing
AgileTD: Experimenting in Context for Exploratory TestingAgileTD: Experimenting in Context for Exploratory Testing
AgileTD: Experimenting in Context for Exploratory Testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Similar to How to write effective test cases

Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f2740
 
Testing process
Testing processTesting process
Testing process
Terry Cho
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
Jithinctzz
 
Testcase training
Testcase trainingTestcase training
Testcase training
medsherb
 
Test case writing
Test case writingTest case writing
Test case writing
Afsarah Jahin
 
Testing
TestingTesting
Testing
trashqwerty
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
VivekRajawat9
 
Testing
TestingTesting
Test cases
Test casesTest cases
Test cases
Chandra Maddigapu
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
Sagar Pednekar
 
Test design
Test designTest design
Test design
Nataly Chill
 
System testing
System testingSystem testing
System testing
Sifat Hossain
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESS
st. michael
 
Ch23
Ch23Ch23
Testing
TestingTesting
100 most popular software testing terms
100 most popular software testing terms100 most popular software testing terms
100 most popular software testing terms
apurvaorama
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
Dhanasekaran Nagarajan
 
QA process Presentation
QA process PresentationQA process Presentation
QA process Presentation
Nadeeshani Aththanagoda
 
Test data management
Test data managementTest data management
Test data management
Rohit Gupta
 
Testing concept definition
Testing concept definitionTesting concept definition
Testing concept definition
Vivek V
 

Similar to How to write effective test cases (20)

Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Testing process
Testing processTesting process
Testing process
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Testcase training
Testcase trainingTestcase training
Testcase training
 
Test case writing
Test case writingTest case writing
Test case writing
 
Testing
TestingTesting
Testing
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Testing
TestingTesting
Testing
 
Test cases
Test casesTest cases
Test cases
 
Dynamic analysis in Software Testing
Dynamic analysis in Software TestingDynamic analysis in Software Testing
Dynamic analysis in Software Testing
 
Test design
Test designTest design
Test design
 
System testing
System testingSystem testing
System testing
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESS
 
Ch23
Ch23Ch23
Ch23
 
Testing
TestingTesting
Testing
 
100 most popular software testing terms
100 most popular software testing terms100 most popular software testing terms
100 most popular software testing terms
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
QA process Presentation
QA process PresentationQA process Presentation
QA process Presentation
 
Test data management
Test data managementTest data management
Test data management
 
Testing concept definition
Testing concept definitionTesting concept definition
Testing concept definition
 

Recently uploaded

Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Envertis Software Solutions
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
Octavian Nadolu
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Undress Baby
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 

Recently uploaded (20)

Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise EditionWhy Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
Why Choose Odoo 17 Community & How it differs from Odoo 17 Enterprise Edition
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Artificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension FunctionsArtificia Intellicence and XPath Extension Functions
Artificia Intellicence and XPath Extension Functions
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdfRevolutionizing Visual Effects Mastering AI Face Swaps.pdf
Revolutionizing Visual Effects Mastering AI Face Swaps.pdf
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 

How to write effective test cases

  • 1. Test Case Creation What is a Test Case? Definition:  A set of conditions or variables under which a QA will determine whether a system under test satisfies requirements or works correctly.  How the application is to be tested  Miniature experiments Structure and testability The test case MUST follow these rules  Should be structured  Has actions and expected results  Does not exceed 15 steps  Has a stated purpose that includes what is being tested  Has a description of the method of the testing (black box, grey box)  Specifies setup information - environment, data, secure access Structure Test Suite ID The ID of the test suite to which this test case belongs. Test Case ID The ID of the test case. Test Case Name The description of what the test case does. Must be unique and self - explanatory Test Case Summary The summary / objective of the test case. Related Requirement The link of the requirement or of the bug this test case relates/traces to. Prerequisites Any prerequisites or preconditions that must be fulfilled prior to executing the test. Test Procedure/ Test Step Step-by-step procedure to execute the test. Detail explanation of an action that needs to be Test Data The test data, or links to the test data, that are to be used while conducting the test. Expected Result The expected result of the test. Actual Result The actual result of the test; to be filled after executing the test. Status Pass or Fail. Other statuses can be ‘Not Executed’ if testing is not performed and ‘Blocked’ if
  • 2. Remarks Any comments on the test case or test execution. Created By The name of the author of the test case. Date of Creation The date of creation of the test case. Executed By The name of the person who executed the test. Date of Execution The date of execution of the test. Test Environment The environment (Hardware/Software/Network) in which the test was executed. Area Areas depend on the process used to support your project within the team. According to the You add areas to support to support your team’s trace-ability. Use areas to represent logical feature Iteration Group into sprints, milestones or other event-specific or time- related period. You define as m Status of automation Status that reflects the state of the TC automation Test Case Size The test case describes in details what has to be done. Too long test cases are not economica exceed 15 steps. Has Purpose The test case must always cover a requirement/bug/feature/functionality Method of testing  Black box  Behavioral testing, is a method in which the internal implementation of the item being tested is not known. Tests can be functional and non- functional. This method attempts to find errors in the following categories:  Incorrect or missing functions  Interface errors  Errors in data structures or external database access  Behavior or performance errors  Initialization and termination errors  Grey box  The tester has limited knowledge of the internal details of the item being tested. This method attempts to find integration errors Setup information - environment, data, prerequisite tests, security access As to execute a test case, test data is a must. Environment in which the test is performed is also required because it affects the test results. Test data and test environment are tightly connected. The test environment must always correspond with the production environment. The test data must always correspond with the real data.
  • 3. Quality Attributes  Accurate - tests what the description says it will test  Economical - has only the steps needed for its purpose  Repeatable, self-standing - same results no matter who tests it.  Appropriate - for both immediate and future testers  Traceable -linked to a requirement, pbi, bug Test Case Considerations  Environment on which the test is run must be suitable.  Test data and test environment are tightly connected.  The test environment must always correspond with the production environment.  The test data must always correspond with the real data.  Test data should be kept as up to date with the live databases as possible.