SlideShare ist ein Scribd-Unternehmen logo
1 von 31
BASICS OF SOFTWARE
TESTING
Chapter 1
Topics to be covered
1. Humans and errors,
2. Testing and Debugging,
3. Software Quality- Correctness Reliability
4. Fundamentals of Test Process,
5. General Principles of Testing ,
6. Test Metrics
January 12, 20181.Basics of Software Testing/D.S.Jagli
2
2
Errors, faults, failures
Humans and errors,
January 12, 2018
3
1.Basics of Software Testing/D.S.Jagli
01/12/18 3
Errors
January 12, 20181.Basics of Software Testing/D.S.Jagli
4
 Errors are a part of our daily life.
 Humans make errors in their thoughts, actions,
and in the products that might result from their
actions.
 Errors occur wherever humans are involved in
taking actions and making decisions.
These fundamental facts of human existence make testing
an essential activity.
4
Errors: Examples
January 12, 20181.Basics of Software Testing/D.S.Jagli
5
01/12/18 5
Error, Faults, Failures
 Error (erroneous action) human action that produces an
incorrect result. [Ieee 610.12]
 Fault is also called A defect or internal error.
 An example might be wrongly programmed or forgotten code
in the application
 Failure is A non fulfillment of A given requirement; A
discrepancy between the actual result or behavior (identified
while executing the test) and the expected result or behavior
(defined in the specifications or requirements).
 Examples of failures are products that are too hard to use or
too slow, but still fulfill the functional requirements.
January 12, 20181.Basics of Software Testing/D.S.Jagli
6
01/12/18 6
Error, Faults, Failures
January 12, 20181.Basics of Software Testing/D.S.Jagli
7
7
Differences
2.Testing and Debugging,
January 12, 2018
8
1.Basics of Software Testing/D.S.Jagli
8
Testing And Debugging
 Testing is the process of determining if a
program has any errors.
 When testing reveals an error, the
process used to determine the cause of
this error and to remove it, is known as
debugging.
January 12, 20181.Basics of Software Testing/D.S.Jagli
9
01/12/18 9
1. The goal of testing is to detect
errors
2. It is initiated with known
conditions.
3. The o/p can be anticipated.
4. It is a conformation.
5. It find out reason for failure.
6. Design knowledge is not required.
7. It is performed by person who
doesn't belong to development
team.
8. Test design and execution are done
automatically.
9. It should follow certain constraints
or rules.
10. It is necessary to have proper
planning
1. To detect errors and correct them.
2. It is initiated with un known conditions.
3. The o/p can not be anticipated.
4. It is a reduction process.
5. it is the programmer’s justification.
6. Detailed Design knowledge is required.
7. It is performed by person who belong
to development team.
8. Design and execution can’t be done
automatically.
9. It shoud have experimentations and
guesses.
10. It is not required proper planning.
Testing debugging
January 12, 2018
10
1.Basics of Software Testing/D.S.Jagli
01/12/18 10
A Test/Debug Cycle
January 12, 20181.Basics of Software Testing/D.S.Jagli
11
01/12/18 11
It s very important in testing
Software Quality,
January 12, 2018
12
1.Basics of Software Testing/D.S.Jagli
Software Quality
 We all want high quality software.
 There exist several measures of software quality.
 Attributes can be divided into static and dynamic
quality attributes.
 Static attributes refer to the actual code and
documentation.
 Dynamic attributes refer to behavior of the
application while in use.
January 12, 20181.Basics of Software Testing/D.S.Jagli
13
13
Software Quality Attributes
 Static quality attributes: structured, maintainable,
testable code as well as the availability of correct and
complete documentation.
 Dynamic quality attributes: software reliability,
correctness, completeness, consistency, usability, and
performance
January 12, 20181.Basics of Software Testing/D.S.Jagli
14
01/12/18 14
Software Quality (Contd.)
January 12, 20181.Basics of Software Testing/D.S.Jagli
15
Completeness refers to the availability of all features listed in
the requirements, or in the user manual.
An incomplete software is one that does not fully implement all
features required.
Consistency refers to adherence to a common set of conventions
and assumptions.
For example, all buttons in the user interface might follow a
common color coding convention.
An example of inconsistency would be when a database
application displays the date of birth of a person in the database.
01/12/18 15
Software Quality
 Usability refers to the ease with which an application can be
used. This is an area in itself and there exist techniques for
usability testing.
 Psychology plays an important role in the design of
techniques for usability testing.
 Performance refers to the time the application takes to
perform a requested task. It is considered as a non-functional
requirement. It is specified in terms such as ``This task must
be performed at the rate of X units of activity in one second
on a machine running at speed Y, having Z gigabytes of
memory."
January 12, 20181.Basics of Software Testing/D.S.Jagli
16
16
Software Reliability: Two Definitions
January 12, 20181.Basics of Software Testing/D.S.Jagli
17
Software reliability [ANSI/IEEE Std 729-1983]:
is the probability of failure free operation of
software over a given time interval and under
given conditions.
Software reliability is the probability of failure
free operation of software in its intended
environment.
01/12/18 17
Software Reliability
In the standard, the quality characteristic is split into maturity,
fault tolerance, and recoverability.
1. Fault tolerance is the capability of the software product to
maintain a specified level of performance, or to recover from
faults in cases of software faults, or of infringement of its
specified interface.
2. Maturity means how often a failure of the software occurs
as a result of defects in the software.
3. Recoverability is the capability of the software product to
reestablish a specified level of performance and recover the
data directly affected in the case of a failure.
January 12, 20181.Basics of Software Testing/D.S.Jagli
18
01/12/18 18
Correctness vs. Reliability
 Though correctness of a program is desirable, it is almost
never the objective of testing.
 To establish correctness via testing would imply testing a
program on all elements in the input domain.
 In most cases that are encountered in practice, this is
impossible to accomplish.
January 12, 20181.Basics of Software Testing/D.S.Jagli
19
Thus correctness is established via
mathematical proofs of programs.
01/12/18 19
Correctness and Testing
 While correctness attempts to establish that the
program is error free, testing attempts to find if there
are any errors in it.
 Thus completeness of testing does not necessarily
demonstrate that a program is error free.
January 12, 20181.Basics of Software Testing/D.S.Jagli
20
Testing, debugging, and the error removal processes
together increase our confidence in the correct
functioning of the program under test.
01/12/18 20
Fundamental of Test Process
January 12, 2018
21
1.Basics of Software Testing/D.S.Jagli
Fundamental Of Test Process
 The description of tasks in the process models is not
sufficient to perform structured tests in software
projects.
 In addition to the embedding of testing in the whole
development process, a more detailed process for the
testing tasks is needed.
 The development task testing must be split into
subtasks
January 12, 20181.Basics of Software Testing/D.S.Jagli
22
Fundamental Test Process
January 12, 20181.Basics of Software Testing/D.S.Jagli
23
01/12/18 23
General Principles of Testing
 Principle 1: Testing shows the presence of defects,
not their absence.
 Principle 2: Exhaustive testing is not possible.
 Principle 3: Testing activities should start as early as
possible.
 Principle 4: Defects tend to cluster together.
 Principle 5: The pesticide paradox.
 Principle 6: Test is context dependent.
 Principle 7: The fallacy of assuming that no failures
means a useful system
January 12, 20181.Basics of Software Testing/D.S.Jagli
24
Test Metrics
 Test Metrics:
1. Organizational
2. Project
3. Process
4. Product
 Static
 Dynamic
January 12, 20181.Basics of Software Testing/D.S.Jagli
25
01/12/18 25
Types Of Testing
January 12, 20181.Basics of Software Testing/D.S.Jagli
26
C1: Source of test generation.
C2: Lifecycle phase in which testing takes place
C3: Goal of a specific testing activity
C4: Characteristics of the artifact under test
One possible classification is based on the following four
classifiers:
01/12/18 26
C1: Source of test generation
January 12, 20181.Basics of Software Testing/D.S.Jagli
27
1.Fundamentals of Testing/D.S.Jagli01/12/18 27
C2: Lifecycle phase in which testing takes
place
January 12, 20181.Basics of Software Testing/D.S.Jagli
28
28
C3: Goal of specific testing activity
January 12, 20181.Basics of Software Testing/D.S.Jagli
29
01/12/18 29
C4: Artifact under test
January 12, 20181.Basics of Software Testing/D.S.Jagli
30
30
???
Thank you31
1.Basics of Software Testing/D.S.Jagli
31

Weitere ähnliche Inhalte

Was ist angesagt?

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | EdurekaEdureka!
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing StrategiesAlpana Bhaskar
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceEr. Nancy
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principlessaurabhshertukde
 
System testing ppt
System testing pptSystem testing ppt
System testing pptL ESHWAR
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingHadi Fadlallah
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Ankit Prajapati
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing IntroductionArunKumar5524
 
Integration testing
Integration testingIntegration testing
Integration testingVaibhav Dash
 

Was ist angesagt? (20)

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Cyclomatic complexity
Cyclomatic complexityCyclomatic complexity
Cyclomatic complexity
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Analysis concepts and principles
Analysis concepts and principlesAnalysis concepts and principles
Analysis concepts and principles
 
System testing ppt
System testing pptSystem testing ppt
System testing ppt
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 
Testing
TestingTesting
Testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Software Testing Introduction
Software Testing IntroductionSoftware Testing Introduction
Software Testing Introduction
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 

Ähnlich wie 1.basics of software testing

EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWJournal For Research
 
IRJET- Faces of Testing Strategies: Why &When?
IRJET- Faces of Testing Strategies: Why &When?IRJET- Faces of Testing Strategies: Why &When?
IRJET- Faces of Testing Strategies: Why &When?IRJET Journal
 
The productivity of testing in software development life cycle
The productivity of testing in software development life cycleThe productivity of testing in software development life cycle
The productivity of testing in software development life cycleNora Alriyes
 
Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)EvaNormala
 
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIES
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIESCHAPTER 1 BASIC CONCEPTS AND PRELIMINARIES
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIESSamruddhi Sheth
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testingReginaKhalida
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptxnischal55
 
Software testing main
Software testing mainSoftware testing main
Software testing mainYogeshDhamke2
 
Testing Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdfTesting Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdfMuhammadShoaibHussai2
 
IT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessIT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessYolanda Williams
 
Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application tanveer ahmad
 
Examining test coverage in software testing (1)
Examining test coverage in software testing (1)Examining test coverage in software testing (1)
Examining test coverage in software testing (1)get joys
 
Principles and Goals of Software Testing
Principles and Goals of Software Testing Principles and Goals of Software Testing
Principles and Goals of Software Testing INFOGAIN PUBLICATION
 
IRJET- Technique of Finding the Defect in Software Testing
IRJET- Technique of Finding the Defect in Software TestingIRJET- Technique of Finding the Defect in Software Testing
IRJET- Technique of Finding the Defect in Software TestingIRJET Journal
 
Defect effort prediction models in software
Defect effort prediction models in softwareDefect effort prediction models in software
Defect effort prediction models in softwareIAEME Publication
 
3. introduction to software testing
3. introduction to software testing3. introduction to software testing
3. introduction to software testingChandra Maddigapu
 

Ähnlich wie 1.basics of software testing (20)

3.static testing
3.static testing 3.static testing
3.static testing
 
EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEW
 
IRJET- Faces of Testing Strategies: Why &When?
IRJET- Faces of Testing Strategies: Why &When?IRJET- Faces of Testing Strategies: Why &When?
IRJET- Faces of Testing Strategies: Why &When?
 
The productivity of testing in software development life cycle
The productivity of testing in software development life cycleThe productivity of testing in software development life cycle
The productivity of testing in software development life cycle
 
Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)Chapter 1 Fundamental of testing (By Eva Normala)
Chapter 1 Fundamental of testing (By Eva Normala)
 
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIES
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIESCHAPTER 1 BASIC CONCEPTS AND PRELIMINARIES
CHAPTER 1 BASIC CONCEPTS AND PRELIMINARIES
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Stm unit1
Stm unit1Stm unit1
Stm unit1
 
STM-UNIT-1.pptx
STM-UNIT-1.pptxSTM-UNIT-1.pptx
STM-UNIT-1.pptx
 
Software testing main
Software testing mainSoftware testing main
Software testing main
 
Testing Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdfTesting Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdf
 
IT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management ProcessIT Quality Testing and the Defect Management Process
IT Quality Testing and the Defect Management Process
 
Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application Effectiveness of software product metrics for mobile application
Effectiveness of software product metrics for mobile application
 
Examining test coverage in software testing (1)
Examining test coverage in software testing (1)Examining test coverage in software testing (1)
Examining test coverage in software testing (1)
 
Bab 1
Bab 1Bab 1
Bab 1
 
Principles and Goals of Software Testing
Principles and Goals of Software Testing Principles and Goals of Software Testing
Principles and Goals of Software Testing
 
IRJET- Technique of Finding the Defect in Software Testing
IRJET- Technique of Finding the Defect in Software TestingIRJET- Technique of Finding the Defect in Software Testing
IRJET- Technique of Finding the Defect in Software Testing
 
Defect effort prediction models in software
Defect effort prediction models in softwareDefect effort prediction models in software
Defect effort prediction models in software
 
Ieee829mtp
Ieee829mtpIeee829mtp
Ieee829mtp
 
3. introduction to software testing
3. introduction to software testing3. introduction to software testing
3. introduction to software testing
 

Mehr von VESIT/University of Mumbai

Mehr von VESIT/University of Mumbai (9)

4.dynamic analysis
4.dynamic analysis4.dynamic analysis
4.dynamic analysis
 
2.testing in the software life cycle
2.testing in the software life cycle 2.testing in the software life cycle
2.testing in the software life cycle
 
Handy annotations-within-oracle-10g
Handy annotations-within-oracle-10gHandy annotations-within-oracle-10g
Handy annotations-within-oracle-10g
 
Rational Unified Treatment for Web Application Vulnerability Assessment
Rational Unified Treatment for Web Application Vulnerability AssessmentRational Unified Treatment for Web Application Vulnerability Assessment
Rational Unified Treatment for Web Application Vulnerability Assessment
 
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESSTHE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
THE APPLICATION OF CAUSE EFFECT GRAPH FOR THE COLLEGE PLACEMENT PROCESS
 
Working with temperaments
Working with temperamentsWorking with temperaments
Working with temperaments
 
planning & project management for DWH
planning & project management for DWHplanning & project management for DWH
planning & project management for DWH
 
Data ware house
Data ware houseData ware house
Data ware house
 
Parallel Database
Parallel DatabaseParallel Database
Parallel Database
 

Kürzlich hochgeladen

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Kürzlich hochgeladen (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

1.basics of software testing

  • 2. Topics to be covered 1. Humans and errors, 2. Testing and Debugging, 3. Software Quality- Correctness Reliability 4. Fundamentals of Test Process, 5. General Principles of Testing , 6. Test Metrics January 12, 20181.Basics of Software Testing/D.S.Jagli 2 2
  • 3. Errors, faults, failures Humans and errors, January 12, 2018 3 1.Basics of Software Testing/D.S.Jagli 01/12/18 3
  • 4. Errors January 12, 20181.Basics of Software Testing/D.S.Jagli 4  Errors are a part of our daily life.  Humans make errors in their thoughts, actions, and in the products that might result from their actions.  Errors occur wherever humans are involved in taking actions and making decisions. These fundamental facts of human existence make testing an essential activity. 4
  • 5. Errors: Examples January 12, 20181.Basics of Software Testing/D.S.Jagli 5 01/12/18 5
  • 6. Error, Faults, Failures  Error (erroneous action) human action that produces an incorrect result. [Ieee 610.12]  Fault is also called A defect or internal error.  An example might be wrongly programmed or forgotten code in the application  Failure is A non fulfillment of A given requirement; A discrepancy between the actual result or behavior (identified while executing the test) and the expected result or behavior (defined in the specifications or requirements).  Examples of failures are products that are too hard to use or too slow, but still fulfill the functional requirements. January 12, 20181.Basics of Software Testing/D.S.Jagli 6 01/12/18 6
  • 7. Error, Faults, Failures January 12, 20181.Basics of Software Testing/D.S.Jagli 7 7
  • 8. Differences 2.Testing and Debugging, January 12, 2018 8 1.Basics of Software Testing/D.S.Jagli 8
  • 9. Testing And Debugging  Testing is the process of determining if a program has any errors.  When testing reveals an error, the process used to determine the cause of this error and to remove it, is known as debugging. January 12, 20181.Basics of Software Testing/D.S.Jagli 9 01/12/18 9
  • 10. 1. The goal of testing is to detect errors 2. It is initiated with known conditions. 3. The o/p can be anticipated. 4. It is a conformation. 5. It find out reason for failure. 6. Design knowledge is not required. 7. It is performed by person who doesn't belong to development team. 8. Test design and execution are done automatically. 9. It should follow certain constraints or rules. 10. It is necessary to have proper planning 1. To detect errors and correct them. 2. It is initiated with un known conditions. 3. The o/p can not be anticipated. 4. It is a reduction process. 5. it is the programmer’s justification. 6. Detailed Design knowledge is required. 7. It is performed by person who belong to development team. 8. Design and execution can’t be done automatically. 9. It shoud have experimentations and guesses. 10. It is not required proper planning. Testing debugging January 12, 2018 10 1.Basics of Software Testing/D.S.Jagli 01/12/18 10
  • 11. A Test/Debug Cycle January 12, 20181.Basics of Software Testing/D.S.Jagli 11 01/12/18 11
  • 12. It s very important in testing Software Quality, January 12, 2018 12 1.Basics of Software Testing/D.S.Jagli
  • 13. Software Quality  We all want high quality software.  There exist several measures of software quality.  Attributes can be divided into static and dynamic quality attributes.  Static attributes refer to the actual code and documentation.  Dynamic attributes refer to behavior of the application while in use. January 12, 20181.Basics of Software Testing/D.S.Jagli 13 13
  • 14. Software Quality Attributes  Static quality attributes: structured, maintainable, testable code as well as the availability of correct and complete documentation.  Dynamic quality attributes: software reliability, correctness, completeness, consistency, usability, and performance January 12, 20181.Basics of Software Testing/D.S.Jagli 14 01/12/18 14
  • 15. Software Quality (Contd.) January 12, 20181.Basics of Software Testing/D.S.Jagli 15 Completeness refers to the availability of all features listed in the requirements, or in the user manual. An incomplete software is one that does not fully implement all features required. Consistency refers to adherence to a common set of conventions and assumptions. For example, all buttons in the user interface might follow a common color coding convention. An example of inconsistency would be when a database application displays the date of birth of a person in the database. 01/12/18 15
  • 16. Software Quality  Usability refers to the ease with which an application can be used. This is an area in itself and there exist techniques for usability testing.  Psychology plays an important role in the design of techniques for usability testing.  Performance refers to the time the application takes to perform a requested task. It is considered as a non-functional requirement. It is specified in terms such as ``This task must be performed at the rate of X units of activity in one second on a machine running at speed Y, having Z gigabytes of memory." January 12, 20181.Basics of Software Testing/D.S.Jagli 16 16
  • 17. Software Reliability: Two Definitions January 12, 20181.Basics of Software Testing/D.S.Jagli 17 Software reliability [ANSI/IEEE Std 729-1983]: is the probability of failure free operation of software over a given time interval and under given conditions. Software reliability is the probability of failure free operation of software in its intended environment. 01/12/18 17
  • 18. Software Reliability In the standard, the quality characteristic is split into maturity, fault tolerance, and recoverability. 1. Fault tolerance is the capability of the software product to maintain a specified level of performance, or to recover from faults in cases of software faults, or of infringement of its specified interface. 2. Maturity means how often a failure of the software occurs as a result of defects in the software. 3. Recoverability is the capability of the software product to reestablish a specified level of performance and recover the data directly affected in the case of a failure. January 12, 20181.Basics of Software Testing/D.S.Jagli 18 01/12/18 18
  • 19. Correctness vs. Reliability  Though correctness of a program is desirable, it is almost never the objective of testing.  To establish correctness via testing would imply testing a program on all elements in the input domain.  In most cases that are encountered in practice, this is impossible to accomplish. January 12, 20181.Basics of Software Testing/D.S.Jagli 19 Thus correctness is established via mathematical proofs of programs. 01/12/18 19
  • 20. Correctness and Testing  While correctness attempts to establish that the program is error free, testing attempts to find if there are any errors in it.  Thus completeness of testing does not necessarily demonstrate that a program is error free. January 12, 20181.Basics of Software Testing/D.S.Jagli 20 Testing, debugging, and the error removal processes together increase our confidence in the correct functioning of the program under test. 01/12/18 20
  • 21. Fundamental of Test Process January 12, 2018 21 1.Basics of Software Testing/D.S.Jagli
  • 22. Fundamental Of Test Process  The description of tasks in the process models is not sufficient to perform structured tests in software projects.  In addition to the embedding of testing in the whole development process, a more detailed process for the testing tasks is needed.  The development task testing must be split into subtasks January 12, 20181.Basics of Software Testing/D.S.Jagli 22
  • 23. Fundamental Test Process January 12, 20181.Basics of Software Testing/D.S.Jagli 23 01/12/18 23
  • 24. General Principles of Testing  Principle 1: Testing shows the presence of defects, not their absence.  Principle 2: Exhaustive testing is not possible.  Principle 3: Testing activities should start as early as possible.  Principle 4: Defects tend to cluster together.  Principle 5: The pesticide paradox.  Principle 6: Test is context dependent.  Principle 7: The fallacy of assuming that no failures means a useful system January 12, 20181.Basics of Software Testing/D.S.Jagli 24
  • 25. Test Metrics  Test Metrics: 1. Organizational 2. Project 3. Process 4. Product  Static  Dynamic January 12, 20181.Basics of Software Testing/D.S.Jagli 25 01/12/18 25
  • 26. Types Of Testing January 12, 20181.Basics of Software Testing/D.S.Jagli 26 C1: Source of test generation. C2: Lifecycle phase in which testing takes place C3: Goal of a specific testing activity C4: Characteristics of the artifact under test One possible classification is based on the following four classifiers: 01/12/18 26
  • 27. C1: Source of test generation January 12, 20181.Basics of Software Testing/D.S.Jagli 27 1.Fundamentals of Testing/D.S.Jagli01/12/18 27
  • 28. C2: Lifecycle phase in which testing takes place January 12, 20181.Basics of Software Testing/D.S.Jagli 28 28
  • 29. C3: Goal of specific testing activity January 12, 20181.Basics of Software Testing/D.S.Jagli 29 01/12/18 29
  • 30. C4: Artifact under test January 12, 20181.Basics of Software Testing/D.S.Jagli 30 30
  • 31. ??? Thank you31 1.Basics of Software Testing/D.S.Jagli 31