SlideShare a Scribd company logo
1 of 22
Novika DamaiYanti
Fakultas Sains &Technologi
Novika DamaiYanti
Fakultas Sains &Technologi
FAKULTAS SAINS DANTEKONOLOGI UNIVERSITAS
ISLAM NEGERI SULTAN SYARIF KASIM RIAU
Differentiate between a test design specification, a test
case specification and a test procedure specification. (Kl)
Compare the terms test condition, test case and test
procedure. (K2)
Write test cases: (K3)
a showing a clear traceability to the requirements;
b containing an expected result.
Translate test cases into a well-structured test procedure
specification at a level of detail relevant to the knowledge
of the testers. (K3)
Write a test execution schedule for a given set of test
cases, considering prioritization, and technical and logical
dependencies. (K3)
2. CATEGORIES OFTEST DESIGNTECHNIQUES
▪ Recall reasons that both specification-based (black-
box) and structure-based (white-box) approaches to
test case design are useful, and list the common
techniques for each. (K1)
▪ Explain the characteristics and differences between
specification-based testing, structure-based testing
and experience-based testing. (K2)
Each testing technique falls into one of a number of
different categories. Broadly speaking there are two main
categories, static and dynamic. Static techniques were
discussed in Chapter 3. Dynamic techniques are
subdivided into three more categories: specification-
based (black-box, also known as behavioral techniques),
structure-based (white-box or structural techniques) and
experience-based. Specification-based techniques include
both functional and non-functional techniques (i.e.
quality characteristics).The techniques covered in the
syllabus are summarized in Figure 4.1
1) Write test cases from given software models using
the following test design techniques. (K3)
a. equivalence partitioning;
b. boundary value analysis;
c. decision tables;
d. state transition testing.
2) Understand the main purpose of each of the four
techniques, what level and type of testing could use
the technique, and how coverage may be measured.
(K2)
3) Understand the concept of use case testing and its
benefits. (K2)
Equivalence partitioning (EP) is a good all-round
specification-based black-box technique. It can be
applied at any level of testing and is often a good
technique to use first. It is a common sense
approach to testing, so much so that most testers
practise it informally even though they may not
realize it. However, while it is better to use the
technique informally than not at all, it is much
better to use the technique in a formal way to
attain the full benefits that it can deliver. This
technique will be found in most testing books,
including [Myers, 1979] and [Copeland, 2003].
 Boundary value analysis (BVA) is based on testing at the boundaries between
partitions. If you have ever done 'range checking', you were probably using the
boundary value analysis technique, even if you weren't aware of it. Note that we
have both valid boundaries (in the valid partitions) and invalid boundaries (in the
invalid partitions).
 As an example, consider a printer that has an input option of the number of
 To apply boundary value analysis, we will take the minimum and maximum
(boundary) values from the valid partition (1 and 99 in this case) together with
copies to be made, from 1 to 99.
Why use decision tables?.
A decision table is a good way to deal with
combinations of things (e.g. inputs). This technique is
sometimes also referred to as a 'cause-effect' table.
The reason for this is that there is an associated logic
diagramming technique called 'cause-effect graphing'
which was sometimes used to help derive the decision
table (Myers describes this as a combinatorial logic
network [Myers, 1979]). However, most people find it
more useful just to use the table described in
[Copeland, 2003].
State transition testing is used where some aspect of the
system can be described in what is called a 'finite state
machine'. This simply means that the system can be in a
(finite) number of different states, and the transitions from
one state to another are determined by the rules of the
'machine'. This is the model on which the system and the
tests are based. Any system where you get a different
output for the same input, depending on what has
happened before, is a finite state system. A finite state
system is often shown as a state diagram (see Figure 4.2).
 TEST ORGANIZATION
▪ Recognize the importance of independent testing.
(Kl)
▪ List the benefits and drawbacks of independent
testing within an organ ization. (K2)
▪ Recognize the different team members to be
considered for the creation of a test team. (Kl)
▪ Recall the tasks of typical test leaders and testers. (Kl)
Doing testing properly requires more than defining the right positions and number of
people for those positions.Good test teams have the right mix of skills based on the
tasks and activities they need to carry out, and people outside the test team who are
in charge of test tasks need the right skills, too. People involved in testing need basic
professional and social qualifications such as literacy, the ability to prepare and
deliver written and verbal reports, the ability to communicate effectively, and so on.
Going beyond that, when we think of the skills that testers need, three main areas
come to mind:
 Application or business domain: A tester must understand the intended behavior,
the problem the system will solve, the process it will automate and so forth, in
order to spot improper behavior while testing and recognize the 'must work'
functions and features.
 Technology: A tester must be aware of issues, limitations and capabilities of the
chosen implementation technology, in order to effectively and effi ciently locate
problems and recognize the 'likely to fail' functions and features.
 Testing:A tester must know the testing topics discussed in this book - and often
more advanced testing topics - in order to effectively and efficiently carry out the
test tasks assigned.
 Recognize the different levels and objectives of test planning. (Kl)
 Summarize the purpose and content of the test plan, test design
specifi
 cation and test procedure documents according to [IEEE 829]. (K2)
 Recall typical factors that influence the effort related to testing. (Kl)
 Differentiate between two conceptually different estimation
approaches:
 the metrics-based approach and the expert-based approach. (K2)
 Differentiate between the subject of test planning for a project, for
indi
 vidual test levels (e.g. system test) or specific test targets (e.g.
usability
 test), and for test execution. (K2)
 List test preparation and execution tasks that need planning. (Kl)
 Recognize and justify adequate exit criteria for specific test levels and
 groups of test cases (e.g. for integration testing, acceptance testing
or
 usability testing). (K2)
Recall common metrics used for monitoring test
preparation and execution. (Kl)
▪ Understand and interpret test metrics for test
reporting and test control (e.g., defects found and
fixed and tests passed and failed). (K2)
▪ Summarize the purpose and content of the test
summary report document according to [IEEE 829].
(K2)
The tools described in this chapter are not the
only tools that a tester can make use of.You
may not normally think of a word processor or
a spreadsheet as a testing tool, but they are
often used to store test designs, test scripts or
test data.Testers may also use SQL to set up
and query databases containing test data.Tools
used by developers when debugging, to help
localize defects and check their fixes, are also
testing tools.
▪ Summarize the potential benefits and risks of test
automation and tool support for testing. (K2)
▪ Recognize that test execution tools can have different
scripting techniques, including data-driven and
keyword-driven. (Kl)
Although there are significant benefits that can be achieved using tools to
support testing activities, there are many organizations that have not
achieved the benefits they expected.
Simply purchasing a tool is no guarantee of achieving benefits, just as
buying membership in a gym does not guarantee that you will be fitter.
Each type of tool requires investment of effort and time in order to achieve
the potential benefits.
There are many risks that are present when tool support for testing is intro-
duced and used, whatever the specific type of tool. Risks include:
 unrealistic expectations for the tool;
 underestimating the time, cost and effort for the initial introduction of a
tool;
 underestimating the time and effort needed to achieve significant and
con tinuing benefits from the tool;
 underestimating the effort required to maintain the test assets
generated by the tool;
 over-reliance on the tool.
Static analysis tools are very useful to developers, as they can
identify potential problems in code before the code is executed
and they can also help to check that the code is written to
coding standards.
When a static analysis tool is first introduced, there can be some
problems. For example, if the tool checks the current coding
standard against code written several years ago, there may be a
number of things found in the old code that fail to meet the new
coding standard now in place. If the old code has been working well
for years, it is probably not a good idea to change it just to satisfy the
new coding standard (unless changes are necessary for some other
reason). There is a risk that the changes to meet the new standard
may have inadvertent side-effects which may not be picked up by
regression testing.
Test management tools can provide a lot of
useful information, but the informa- tion as
produced by the tool may not be in the form
that will be most effective within your own
context. Some additional work may be needed
to produce interfaces to other tools or a
spreadsheet in order to ensure that the
informa- tion is communicated in the most
effective way.
Referensi : Graham et.al (2011)

More Related Content

What's hot

Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingNeeraj Kumar Singh
 
Chapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentChapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentNeeraj Kumar Singh
 
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessNeeraj Kumar Singh
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionNeeraj Kumar Singh
 
Cost Based Performance Modelling
Cost Based Performance ModellingCost Based Performance Modelling
Cost Based Performance ModellingEugene Margulis
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksNeeraj Kumar Singh
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionNeeraj Kumar Singh
 
Chapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationChapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationNeeraj Kumar Singh
 
Chapter 3 - The Generic Test Automation Architecture
Chapter 3 - The Generic Test Automation Architecture Chapter 3 - The Generic Test Automation Architecture
Chapter 3 - The Generic Test Automation Architecture Neeraj Kumar Singh
 
Chapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryChapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryNeeraj Kumar Singh
 
Chapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationChapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationNeeraj Kumar Singh
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsNeeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationNeeraj Kumar Singh
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleNeeraj Kumar Singh
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleNeeraj Kumar Singh
 

What's hot (20)

Chapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical TestingChapter 4 - Quality Characteristics for Technical Testing
Chapter 4 - Quality Characteristics for Technical Testing
 
Chapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation EnvironmentChapter 6 - Transitioning Manual Testing to an Automation Environment
Chapter 6 - Transitioning Manual Testing to an Automation Environment
 
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team Composition
 
Chapter 7 - Verifying the TAS
Chapter 7 - Verifying the TASChapter 7 - Verifying the TAS
Chapter 7 - Verifying the TAS
 
Cost Based Performance Modelling
Cost Based Performance ModellingCost Based Performance Modelling
Cost Based Performance Modelling
 
Chapter 2 - Testing in Agile
Chapter 2 - Testing in AgileChapter 2 - Testing in Agile
Chapter 2 - Testing in Agile
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
Chapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationChapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test Automation
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Chapter 3 - The Generic Test Automation Architecture
Chapter 3 - The Generic Test Automation Architecture Chapter 3 - The Generic Test Automation Architecture
Chapter 3 - The Generic Test Automation Architecture
 
Neeraj_Kumar
Neeraj_KumarNeeraj_Kumar
Neeraj_Kumar
 
Chapter 4 - Deployment & Delivery
Chapter 4 - Deployment & DeliveryChapter 4 - Deployment & Delivery
Chapter 4 - Deployment & Delivery
 
Chapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test AutomationChapter 1 - Introduction and Objectives for Test Automation
Chapter 1 - Introduction and Objectives for Test Automation
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality Characteristics
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycleChapter 2 - Testing Throughout the Development LifeCycle
Chapter 2 - Testing Throughout the Development LifeCycle
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software Lifecycle
 

Similar to Test design techniques

Test design techniques
Test design techniquesTest design techniques
Test design techniquesYAObbiIkhsan
 
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...Meghna Arora
 
Tool support for testing
Tool support for testingTool support for testing
Tool support for testingelvira munanda
 
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxA Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxronak56
 
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxA Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxmakdul
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)Javier Gonzalez-Sanchez
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiquessuci maisaroh
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Predictionijsrd.com
 
Fundamental Test Design Techniques
Fundamental Test Design TechniquesFundamental Test Design Techniques
Fundamental Test Design TechniquesTechWell
 
Manual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxManual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxssuser305f65
 
manual-testing
manual-testingmanual-testing
manual-testingKanak Mane
 
09 cs491 st-t1
09 cs491 st-t109 cs491 st-t1
09 cs491 st-t1NikithaNag
 
Fundamental test process
Fundamental test process Fundamental test process
Fundamental test process alex swandi
 
Best practices for test case creation & maintenance
Best practices for test case creation & maintenanceBest practices for test case creation & maintenance
Best practices for test case creation & maintenance99tests
 
Test Estimation
Test Estimation Test Estimation
Test Estimation SQALab
 

Similar to Test design techniques (20)

Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
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...
 
Tool support for testing
Tool support for testingTool support for testing
Tool support for testing
 
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxA Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
 
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docxA Comprehensive Approach to Data Warehouse TestingMatteo G.docx
A Comprehensive Approach to Data Warehouse TestingMatteo G.docx
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Prediction
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Fundamental Test Design Techniques
Fundamental Test Design TechniquesFundamental Test Design Techniques
Fundamental Test Design Techniques
 
Astqb Slayb
Astqb SlaybAstqb Slayb
Astqb Slayb
 
Manual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxManual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docx
 
manual-testing
manual-testingmanual-testing
manual-testing
 
09 cs491 st-t1
09 cs491 st-t109 cs491 st-t1
09 cs491 st-t1
 
Fundamental test process
Fundamental test process Fundamental test process
Fundamental test process
 
Best practices for test case creation & maintenance
Best practices for test case creation & maintenanceBest practices for test case creation & maintenance
Best practices for test case creation & maintenance
 
Test planning
Test planningTest planning
Test planning
 
Test Estimation
Test Estimation Test Estimation
Test Estimation
 

Recently uploaded

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 

Recently uploaded (20)

9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 

Test design techniques

  • 2. Novika DamaiYanti Fakultas Sains &Technologi FAKULTAS SAINS DANTEKONOLOGI UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
  • 3. Differentiate between a test design specification, a test case specification and a test procedure specification. (Kl) Compare the terms test condition, test case and test procedure. (K2) Write test cases: (K3) a showing a clear traceability to the requirements; b containing an expected result. Translate test cases into a well-structured test procedure specification at a level of detail relevant to the knowledge of the testers. (K3) Write a test execution schedule for a given set of test cases, considering prioritization, and technical and logical dependencies. (K3)
  • 4. 2. CATEGORIES OFTEST DESIGNTECHNIQUES ▪ Recall reasons that both specification-based (black- box) and structure-based (white-box) approaches to test case design are useful, and list the common techniques for each. (K1) ▪ Explain the characteristics and differences between specification-based testing, structure-based testing and experience-based testing. (K2)
  • 5. Each testing technique falls into one of a number of different categories. Broadly speaking there are two main categories, static and dynamic. Static techniques were discussed in Chapter 3. Dynamic techniques are subdivided into three more categories: specification- based (black-box, also known as behavioral techniques), structure-based (white-box or structural techniques) and experience-based. Specification-based techniques include both functional and non-functional techniques (i.e. quality characteristics).The techniques covered in the syllabus are summarized in Figure 4.1
  • 6.
  • 7. 1) Write test cases from given software models using the following test design techniques. (K3) a. equivalence partitioning; b. boundary value analysis; c. decision tables; d. state transition testing. 2) Understand the main purpose of each of the four techniques, what level and type of testing could use the technique, and how coverage may be measured. (K2) 3) Understand the concept of use case testing and its benefits. (K2)
  • 8. Equivalence partitioning (EP) is a good all-round specification-based black-box technique. It can be applied at any level of testing and is often a good technique to use first. It is a common sense approach to testing, so much so that most testers practise it informally even though they may not realize it. However, while it is better to use the technique informally than not at all, it is much better to use the technique in a formal way to attain the full benefits that it can deliver. This technique will be found in most testing books, including [Myers, 1979] and [Copeland, 2003].
  • 9.  Boundary value analysis (BVA) is based on testing at the boundaries between partitions. If you have ever done 'range checking', you were probably using the boundary value analysis technique, even if you weren't aware of it. Note that we have both valid boundaries (in the valid partitions) and invalid boundaries (in the invalid partitions).  As an example, consider a printer that has an input option of the number of  To apply boundary value analysis, we will take the minimum and maximum (boundary) values from the valid partition (1 and 99 in this case) together with copies to be made, from 1 to 99.
  • 10. Why use decision tables?. A decision table is a good way to deal with combinations of things (e.g. inputs). This technique is sometimes also referred to as a 'cause-effect' table. The reason for this is that there is an associated logic diagramming technique called 'cause-effect graphing' which was sometimes used to help derive the decision table (Myers describes this as a combinatorial logic network [Myers, 1979]). However, most people find it more useful just to use the table described in [Copeland, 2003].
  • 11. State transition testing is used where some aspect of the system can be described in what is called a 'finite state machine'. This simply means that the system can be in a (finite) number of different states, and the transitions from one state to another are determined by the rules of the 'machine'. This is the model on which the system and the tests are based. Any system where you get a different output for the same input, depending on what has happened before, is a finite state system. A finite state system is often shown as a state diagram (see Figure 4.2).
  • 12.
  • 13.  TEST ORGANIZATION ▪ Recognize the importance of independent testing. (Kl) ▪ List the benefits and drawbacks of independent testing within an organ ization. (K2) ▪ Recognize the different team members to be considered for the creation of a test team. (Kl) ▪ Recall the tasks of typical test leaders and testers. (Kl)
  • 14. Doing testing properly requires more than defining the right positions and number of people for those positions.Good test teams have the right mix of skills based on the tasks and activities they need to carry out, and people outside the test team who are in charge of test tasks need the right skills, too. People involved in testing need basic professional and social qualifications such as literacy, the ability to prepare and deliver written and verbal reports, the ability to communicate effectively, and so on. Going beyond that, when we think of the skills that testers need, three main areas come to mind:  Application or business domain: A tester must understand the intended behavior, the problem the system will solve, the process it will automate and so forth, in order to spot improper behavior while testing and recognize the 'must work' functions and features.  Technology: A tester must be aware of issues, limitations and capabilities of the chosen implementation technology, in order to effectively and effi ciently locate problems and recognize the 'likely to fail' functions and features.  Testing:A tester must know the testing topics discussed in this book - and often more advanced testing topics - in order to effectively and efficiently carry out the test tasks assigned.
  • 15.  Recognize the different levels and objectives of test planning. (Kl)  Summarize the purpose and content of the test plan, test design specifi  cation and test procedure documents according to [IEEE 829]. (K2)  Recall typical factors that influence the effort related to testing. (Kl)  Differentiate between two conceptually different estimation approaches:  the metrics-based approach and the expert-based approach. (K2)  Differentiate between the subject of test planning for a project, for indi  vidual test levels (e.g. system test) or specific test targets (e.g. usability  test), and for test execution. (K2)  List test preparation and execution tasks that need planning. (Kl)  Recognize and justify adequate exit criteria for specific test levels and  groups of test cases (e.g. for integration testing, acceptance testing or  usability testing). (K2)
  • 16. Recall common metrics used for monitoring test preparation and execution. (Kl) ▪ Understand and interpret test metrics for test reporting and test control (e.g., defects found and fixed and tests passed and failed). (K2) ▪ Summarize the purpose and content of the test summary report document according to [IEEE 829]. (K2)
  • 17. The tools described in this chapter are not the only tools that a tester can make use of.You may not normally think of a word processor or a spreadsheet as a testing tool, but they are often used to store test designs, test scripts or test data.Testers may also use SQL to set up and query databases containing test data.Tools used by developers when debugging, to help localize defects and check their fixes, are also testing tools.
  • 18. ▪ Summarize the potential benefits and risks of test automation and tool support for testing. (K2) ▪ Recognize that test execution tools can have different scripting techniques, including data-driven and keyword-driven. (Kl)
  • 19. Although there are significant benefits that can be achieved using tools to support testing activities, there are many organizations that have not achieved the benefits they expected. Simply purchasing a tool is no guarantee of achieving benefits, just as buying membership in a gym does not guarantee that you will be fitter. Each type of tool requires investment of effort and time in order to achieve the potential benefits. There are many risks that are present when tool support for testing is intro- duced and used, whatever the specific type of tool. Risks include:  unrealistic expectations for the tool;  underestimating the time, cost and effort for the initial introduction of a tool;  underestimating the time and effort needed to achieve significant and con tinuing benefits from the tool;  underestimating the effort required to maintain the test assets generated by the tool;  over-reliance on the tool.
  • 20. Static analysis tools are very useful to developers, as they can identify potential problems in code before the code is executed and they can also help to check that the code is written to coding standards. When a static analysis tool is first introduced, there can be some problems. For example, if the tool checks the current coding standard against code written several years ago, there may be a number of things found in the old code that fail to meet the new coding standard now in place. If the old code has been working well for years, it is probably not a good idea to change it just to satisfy the new coding standard (unless changes are necessary for some other reason). There is a risk that the changes to meet the new standard may have inadvertent side-effects which may not be picked up by regression testing.
  • 21. Test management tools can provide a lot of useful information, but the informa- tion as produced by the tool may not be in the form that will be most effective within your own context. Some additional work may be needed to produce interfaces to other tools or a spreadsheet in order to ensure that the informa- tion is communicated in the most effective way.
  • 22. Referensi : Graham et.al (2011)