SlideShare a Scribd company logo
Test design techniques and
Testing Throughout The Software Life
Cycle
Nama : MINI MARSIAH
Nim : 11453201774
Jurusan : SISTEM INFORMASI
Fakultas : SAINS DAN TEKNOLOGI
UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
Testing may be performed with varying degrees of formality. Very formal testing would have
extensive documentation which is well controlled, and would expect the documented detail of
the tests to include the exact and specific input and expected outcome of the test. Very
informal testing may have no documentation at all, or only notes kept by individual testers,
but we'd still expect the testers to have in their minds and notes some idea of what they
intended to test and what they expected the outcome to be. Most people are probably
somewhere in between! The right level of formality for you depends on your context:
a commercial safety-critical application has very different needs than a one-off application to
be used by only a few people for a short time. outcome to be. Most people are probably
somewhere in between! The right level of formality for you depends on your context: a commercial
safety-critical application has very different needs than a one-off application to be used by only a few
people for a short time.
Formality of test documentation
• Test analysis is the process of looking at something that can be used to derive test
information. This basis for the tests is called the 'test basis'. It could be a system
requirement, a technical specification, the code itself (for structural testing), or a business
process. Sometimes tests can be based on an experienced user's knowledge of the system,
which may not be documented. The test basis includes whatever the tests are based on.
This was also discussed in Chapter 1. From a testing perspective, we look at the test basis
in order to see what could be tested – these are the test conditions. A test condition is
simply something that we could test. If we are looking to measure coverage of code
decisions (branches), then the test basis would be the code itself, and the list of test
conditions would be the decision outcomes (True and False). If we have a requirements
specification, the table of contents can be our initial list of test conditions.
•
Test analysis: identifying test conditions
• Test conditions can be rather vague, covering quite a large range of possibilities
as we saw with our mobile phone company example (e.g. a teenager in the mid-
west), or a test condition may be more specific (e.g. a particular male customer
on pay-as-you-go with less than $10 credit). However when we come to make a
test case, we are required to be very specific; in fact we now need exact and
detailed specific inputs, not general descriptions (e.g. Jim Green, age 17, living in
Grand Rapids, Michigan, with credit of $8.64, expected result: add to Q4
marketing campaign). Note that one test case covers a number of conditions
(teenager, male, mid-west area, pay-as-you-go, and credit of less than $10).
Test design: specifying test cases
• The next step is to group the test cases in a sensible way for executing
them and to specify the sequential steps that need to be done to run the
test. For example, a set of simple tests that cover the breadth of the system
may form a regression suite, or all of the tests that explore the working of
a given functionality or feature in depth may be grouped to be run
together.
Test implementation: specifying test procedures or scripts
Testing Throughout The Software Life
Cycle
• Testing is not a stand-alone activity. It has its place within a software
development life cycle model and therefore the life cycle applied will
largely determine how testing is organized.
• There are many different forms of testing. Because several disciplines,
often with different interests, are involved in the development life cycle, it
is important to clearly understand and define the various test levels and
types. This chapter discusses the most commonly applied software
development models, test levels and test types. Maintenance can be seen
as a specific instance of a development process.
V-model
• The V-model was developed to address some of the problems experienced using the
traditional waterfall approach. Defects were being found too late in the life cycle, as
testing was not involved until the end of the project. Testing also added lead time due to
its late involvement. The V-model provides guidance that testing needs to begin as early
as possible in the life cycle, which, as we've seen in Chapter 1, is one of the fundamental
principles of structured testing. It also shows that testing is not only an execution-based
activity. There are a variety of activities that need to be performed before the end of the
coding phase. These activities should be carried out in parallel with development
activities, and testers need to work with developers and business analysts so they can
perform these activities and tasks and produce a set of test deliverables.
Although variants of the V-model exist, a common type of V-model uses four test levels. The
four test levels used, each with their own objectives, are:
• component testing: searches for defects in and verifies the functioning of software
components (e.g. modules, programs, objects, classes etc.) that are separately testable;
• integration testing: tests interfaces between components, interactions to different parts of
a system such as an operating system, file system and hard ware or interfaces between
systems;
• system testing: concerned with the behavior of the whole system/product as defined by
the scope of a development project or product. The main focus of system testing is
verification against specified requirements;
• acceptance testing: validation testing with respect to user needs, require ments, and
business processes conducted to determine whether or not to accept the system.
Testing 3 test design techniques

More Related Content

What's hot

Test analysis
Test analysisTest analysis
Test analysis
Ozi Saputra
 
Test case writing
Test case writingTest case writing
Test case writing
Afsarah Jahin
 
Why do we test software?
Why do we test software?Why do we test software?
Why do we test software?
Md. Shafiuzzaman Hira
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
Chaitanya Kn
 
QUality Assessment of System Architectures and their Requirements (QUASAR)
QUality Assessment of System Architectures and their Requirements (QUASAR)QUality Assessment of System Architectures and their Requirements (QUASAR)
QUality Assessment of System Architectures and their Requirements (QUASAR)
Donald Firesmith
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Abdul Basit
 
User stories
User storiesUser stories
User stories
Md. Shafiuzzaman Hira
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
devinta sari
 
Use Cases & User Stories: An Overview
Use Cases & User Stories: An Overview Use Cases & User Stories: An Overview
Use Cases & User Stories: An Overview
QA InfoTech
 
Basics of software testing
Basics of software testingBasics of software testing
Basics of software testing
PJS KUMAR
 
Checklist for website testing
Checklist for website testingChecklist for website testing
Checklist for website testing
Tricode (part of Dept)
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
Sneha Singh
 
Common Testing Problems – Pitfalls to Prevent and Mitigate
Common Testing Problems – Pitfalls to Prevent and MitigateCommon Testing Problems – Pitfalls to Prevent and Mitigate
Common Testing Problems – Pitfalls to Prevent and Mitigate
Donald Firesmith
 
Patterns in Testing
Patterns in TestingPatterns in Testing
Patterns in Testing
Joe Chavez
 
A survey of software testing
A survey of software testingA survey of software testing
A survey of software testing
Tao He
 
Common testing pitfalls NextGen Testing Conference - 2014-09-18
Common testing pitfalls   NextGen Testing Conference - 2014-09-18Common testing pitfalls   NextGen Testing Conference - 2014-09-18
Common testing pitfalls NextGen Testing Conference - 2014-09-18
Donald Firesmith
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
Harika Krupal
 
Software Testing
Software Testing Software Testing
Software Testing
Vignesh Suresh
 
White box testing
White box testingWhite box testing
White box testing
Abdul Basit
 

What's hot (20)

Test analysis
Test analysisTest analysis
Test analysis
 
Test case writing
Test case writingTest case writing
Test case writing
 
Why do we test software?
Why do we test software?Why do we test software?
Why do we test software?
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
QUality Assessment of System Architectures and their Requirements (QUASAR)
QUality Assessment of System Architectures and their Requirements (QUASAR)QUality Assessment of System Architectures and their Requirements (QUASAR)
QUality Assessment of System Architectures and their Requirements (QUASAR)
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
User stories
User storiesUser stories
User stories
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
 
Use Cases & User Stories: An Overview
Use Cases & User Stories: An Overview Use Cases & User Stories: An Overview
Use Cases & User Stories: An Overview
 
Basics of software testing
Basics of software testingBasics of software testing
Basics of software testing
 
Checklist for website testing
Checklist for website testingChecklist for website testing
Checklist for website testing
 
Test case development
Test case developmentTest case development
Test case development
 
Test Cases Vs Test Scenarios
Test Cases Vs Test ScenariosTest Cases Vs Test Scenarios
Test Cases Vs Test Scenarios
 
Common Testing Problems – Pitfalls to Prevent and Mitigate
Common Testing Problems – Pitfalls to Prevent and MitigateCommon Testing Problems – Pitfalls to Prevent and Mitigate
Common Testing Problems – Pitfalls to Prevent and Mitigate
 
Patterns in Testing
Patterns in TestingPatterns in Testing
Patterns in Testing
 
A survey of software testing
A survey of software testingA survey of software testing
A survey of software testing
 
Common testing pitfalls NextGen Testing Conference - 2014-09-18
Common testing pitfalls   NextGen Testing Conference - 2014-09-18Common testing pitfalls   NextGen Testing Conference - 2014-09-18
Common testing pitfalls NextGen Testing Conference - 2014-09-18
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
 
Software Testing
Software Testing Software Testing
Software Testing
 
White box testing
White box testingWhite box testing
White box testing
 

Similar to Testing 3 test design techniques

1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
Sravya221181
 
Test design techniques nopri wahyudi
Test design techniques nopri wahyudiTest design techniques nopri wahyudi
Test design techniques nopri wahyudi
Nopriwahyudi
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
muhamad iqbal
 
Fundamental test process
Fundamental test process Fundamental test process
Fundamental test process
alex swandi
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
rido randika putra
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
M Branikno Ramadhan
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Dinul
 
Characterization of Open-Source Applications and Test Suites
Characterization of Open-Source Applications and Test Suites Characterization of Open-Source Applications and Test Suites
Characterization of Open-Source Applications and Test Suites
ijseajournal
 
Fundamental test process (andika m)
Fundamental test process (andika m)Fundamental test process (andika m)
Fundamental test process (andika m)
Andika Mardanu
 
Fundamental test process 1
Fundamental test process 1Fundamental test process 1
Fundamental test process 1
Bima Alvamiko
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Manual Tester Interview Questions(1).pdf
Manual Tester Interview Questions(1).pdfManual Tester Interview Questions(1).pdf
Manual Tester Interview Questions(1).pdf
SupriyaDongare
 
2 . fundamental test process
2 . fundamental test process2 . fundamental test process
2 . fundamental test process
sabrian SIF
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Novika Damai Yanti
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
suci maisaroh
 
CHAPTER 15Security Quality Assurance TestingIn this chapter yo
CHAPTER 15Security Quality Assurance TestingIn this chapter yoCHAPTER 15Security Quality Assurance TestingIn this chapter yo
CHAPTER 15Security Quality Assurance TestingIn this chapter yo
JinElias52
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Aji Pamungkas Prasetio
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
M Branikno Ramadhan
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Yoga Setiawan
 

Similar to Testing 3 test design techniques (20)

1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
 
Test design techniques nopri wahyudi
Test design techniques nopri wahyudiTest design techniques nopri wahyudi
Test design techniques nopri wahyudi
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
 
Fundamental test process
Fundamental test process Fundamental test process
Fundamental test process
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Characterization of Open-Source Applications and Test Suites
Characterization of Open-Source Applications and Test Suites Characterization of Open-Source Applications and Test Suites
Characterization of Open-Source Applications and Test Suites
 
Fundamental test process (andika m)
Fundamental test process (andika m)Fundamental test process (andika m)
Fundamental test process (andika m)
 
Fundamental test process 1
Fundamental test process 1Fundamental test process 1
Fundamental test process 1
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Manual Tester Interview Questions(1).pdf
Manual Tester Interview Questions(1).pdfManual Tester Interview Questions(1).pdf
Manual Tester Interview Questions(1).pdf
 
2 . fundamental test process
2 . fundamental test process2 . fundamental test process
2 . fundamental test process
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
 
CHAPTER 15Security Quality Assurance TestingIn this chapter yo
CHAPTER 15Security Quality Assurance TestingIn this chapter yoCHAPTER 15Security Quality Assurance TestingIn this chapter yo
CHAPTER 15Security Quality Assurance TestingIn this chapter yo
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 

Recently uploaded

“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 

Recently uploaded (20)

“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Artificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic WarfareArtificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic Warfare
 

Testing 3 test design techniques

  • 1. Test design techniques and Testing Throughout The Software Life Cycle Nama : MINI MARSIAH Nim : 11453201774 Jurusan : SISTEM INFORMASI Fakultas : SAINS DAN TEKNOLOGI UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
  • 2. Testing may be performed with varying degrees of formality. Very formal testing would have extensive documentation which is well controlled, and would expect the documented detail of the tests to include the exact and specific input and expected outcome of the test. Very informal testing may have no documentation at all, or only notes kept by individual testers, but we'd still expect the testers to have in their minds and notes some idea of what they intended to test and what they expected the outcome to be. Most people are probably somewhere in between! The right level of formality for you depends on your context: a commercial safety-critical application has very different needs than a one-off application to be used by only a few people for a short time. outcome to be. Most people are probably somewhere in between! The right level of formality for you depends on your context: a commercial safety-critical application has very different needs than a one-off application to be used by only a few people for a short time. Formality of test documentation
  • 3. • Test analysis is the process of looking at something that can be used to derive test information. This basis for the tests is called the 'test basis'. It could be a system requirement, a technical specification, the code itself (for structural testing), or a business process. Sometimes tests can be based on an experienced user's knowledge of the system, which may not be documented. The test basis includes whatever the tests are based on. This was also discussed in Chapter 1. From a testing perspective, we look at the test basis in order to see what could be tested – these are the test conditions. A test condition is simply something that we could test. If we are looking to measure coverage of code decisions (branches), then the test basis would be the code itself, and the list of test conditions would be the decision outcomes (True and False). If we have a requirements specification, the table of contents can be our initial list of test conditions. • Test analysis: identifying test conditions
  • 4. • Test conditions can be rather vague, covering quite a large range of possibilities as we saw with our mobile phone company example (e.g. a teenager in the mid- west), or a test condition may be more specific (e.g. a particular male customer on pay-as-you-go with less than $10 credit). However when we come to make a test case, we are required to be very specific; in fact we now need exact and detailed specific inputs, not general descriptions (e.g. Jim Green, age 17, living in Grand Rapids, Michigan, with credit of $8.64, expected result: add to Q4 marketing campaign). Note that one test case covers a number of conditions (teenager, male, mid-west area, pay-as-you-go, and credit of less than $10). Test design: specifying test cases
  • 5. • The next step is to group the test cases in a sensible way for executing them and to specify the sequential steps that need to be done to run the test. For example, a set of simple tests that cover the breadth of the system may form a regression suite, or all of the tests that explore the working of a given functionality or feature in depth may be grouped to be run together. Test implementation: specifying test procedures or scripts
  • 6. Testing Throughout The Software Life Cycle • Testing is not a stand-alone activity. It has its place within a software development life cycle model and therefore the life cycle applied will largely determine how testing is organized. • There are many different forms of testing. Because several disciplines, often with different interests, are involved in the development life cycle, it is important to clearly understand and define the various test levels and types. This chapter discusses the most commonly applied software development models, test levels and test types. Maintenance can be seen as a specific instance of a development process.
  • 7. V-model • The V-model was developed to address some of the problems experienced using the traditional waterfall approach. Defects were being found too late in the life cycle, as testing was not involved until the end of the project. Testing also added lead time due to its late involvement. The V-model provides guidance that testing needs to begin as early as possible in the life cycle, which, as we've seen in Chapter 1, is one of the fundamental principles of structured testing. It also shows that testing is not only an execution-based activity. There are a variety of activities that need to be performed before the end of the coding phase. These activities should be carried out in parallel with development activities, and testers need to work with developers and business analysts so they can perform these activities and tasks and produce a set of test deliverables.
  • 8.
  • 9. Although variants of the V-model exist, a common type of V-model uses four test levels. The four test levels used, each with their own objectives, are: • component testing: searches for defects in and verifies the functioning of software components (e.g. modules, programs, objects, classes etc.) that are separately testable; • integration testing: tests interfaces between components, interactions to different parts of a system such as an operating system, file system and hard ware or interfaces between systems; • system testing: concerned with the behavior of the whole system/product as defined by the scope of a development project or product. The main focus of system testing is verification against specified requirements; • acceptance testing: validation testing with respect to user needs, require ments, and business processes conducted to determine whether or not to accept the system.