SlideShare a Scribd company logo
1 of 9
FUNDAMENTALS OF TESTING
Jurusan Sistem Informasi
Fakultas Sains dan Teknologi
Universitas Islam Negeri Sultan Syarif Kasim
Riau
FAJAR AYU NINGRUM
Software systems context
Causes of software defects
Role of testing in software development, maintenance
and operations
Testing and Quality
Viewpoints of expectations and quality
Defining software testing
Software test and driving test compared
Not all software systems
carry the same level of
riskand not all
problemshave the same
impact when they occur .
Software systems context
A risk is something that has
not happened yet and it
may never happen; it is a
potential problem
Causes of software defects
Error
If someone makes an error or mistake in using the software,
this may leaddirectly to a problem - the software is used incorrectly and
so does not behaveas we expected
Defects
However, people also design and build the software and theycan make
mistakes during the design and build. These mistakes mean that
thereare flaws in the software itself. These are called defects or
sometimes bugs orfaults. Remember, the software is not just the code;
check the definition of soft-ware again to remind yourself
Failure
When the software code has been built, it is executed and then any
defects maycause the system to fail to do what it should do (or do
something it shouldn't),causing a failure
 but itis difficult for people to find their own mistakes while building a
product.
 that if a mistake does not lead to adefect or a defect does not lead to a
failure, then it is not of any importance -we may not even know we've
made an error .
 Our fallibility is compounded when we lack experience, don't have the
rightinformation, misunderstand, or if we are careless, tired or under time
pressure .
 Additionally, we are more likely to make errors when dealing with
perplexing technical or business problems, complex business processes,
code or infrastructure, changing technologies, or many system
interactions
Slide Title Goes Here
Role of testing in software development, maintenance and
operations
Role of testing in softwarWe have seen that human errors can cause a
defect or fault to be introduced atany stage within the software development life
cycle and, depending upon theconsequences of the mistake, the results can be
trivial or catastrophic. Rigoroustesting is necessary during development and
maintenance to identify defects, inorder to reduce failures in the operational
environment and increase the qualityof the operational system. This includes looking
for places in the user interfacewhere a user might make a mistake in input of data or
in the interpretation ofthe output, and looking for potential weak points for intentional
and maliciousattack. e development, maintenance and operations
TESTING AND QUALITY
 Testing
Testing can give confidence in the
quality of the software if it finds
few or no defects, provided we
are happy that the testing is
sufficiently rigorous . Of course, a
poor test may uncover few defects
and leave uswith a false sense of
security
Quality
We need to understand what the customers
understand by quality andwhat their
expectations are. What we as software
developers and testers maysee as quality – that
the software meets its defined specification, is
technicallyexcellent and has few bugs in it –
may not provide a quality solution for our
customers. Furthermore, if our customers find
they have spent more money thanthey wanted
or that the software doesn't help them carry out
their tasks, theywon't be impressed by the
technical excellence of the solution
Evaluation
Process
All life cycle activities
Both static and dynamic
Planning
Preparation
• Testing is a process rather than a single activity– there are a seriesof activities
involved.
• Chapter 2 looks at testing as a process that takesplace throughout the software
development life cycle. We saw earlierthat the later in the life cycle we find bugs,
the more expensive they areto fix.
• We'll see in Chapter 3 that as well as tests wherethe software code is executed to
demonstrate the results of running tests(often called dynamic testing) we can also
test and find defects without executing code.
• Activities take place before and after test execution We need tomanage the testing;
for example, we plan what we want to do; we control thetest activities; we report on
testing progress and the status of the softwareunder test; and we finalize or close
testing when a phase completes
• We need to choose what testing we'll do, by selecting test conditions and designing
test cases. Chapter 4 covers the test design activities.
TENGKYU..

More Related Content

What's hot

Intro to Software Quality Assurance
Intro to Software Quality AssuranceIntro to Software Quality Assurance
Intro to Software Quality AssuranceBicol IT.org
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing pptAjit Waje
 
Why is Software Testing necessary?
Why is Software Testing necessary?Why is Software Testing necessary?
Why is Software Testing necessary?SakshiPatel82
 
Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Ajeng Savitri
 
What is Software Testing?
What is Software Testing?What is Software Testing?
What is Software Testing?QAI Global
 
Spm unit v-software reliability-
Spm unit v-software reliability-Spm unit v-software reliability-
Spm unit v-software reliability-Kanchana Devi
 
Test Automation - Principles and Practices
Test Automation - Principles and PracticesTest Automation - Principles and Practices
Test Automation - Principles and PracticesAnand Bagmar
 
Outsource Software Testing Services Company in US
Outsource Software Testing Services Company in USOutsource Software Testing Services Company in US
Outsource Software Testing Services Company in USjauhar khan
 
Software Verification in Academia and Business
Software Verification in Academia and BusinessSoftware Verification in Academia and Business
Software Verification in Academia and BusinessJan Michael Auer
 
Soft serve quality control
Soft serve quality controlSoft serve quality control
Soft serve quality controlNatalie Semenyuk
 
How to accelerate UAT & Regression Testing
How to accelerate UAT & Regression TestingHow to accelerate UAT & Regression Testing
How to accelerate UAT & Regression TestingSensiple Inc.,
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarXBOSoft
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in ChandigarhKreativan Technologies
 
Intro to Software Engineering - Software Quality Assurance
Intro to Software Engineering - Software Quality AssuranceIntro to Software Engineering - Software Quality Assurance
Intro to Software Engineering - Software Quality AssuranceRadu_Negulescu
 
Sustainable Test Automation: Collaborate within Team
Sustainable Test Automation: Collaborate within TeamSustainable Test Automation: Collaborate within Team
Sustainable Test Automation: Collaborate within TeamSQALab
 

What's hot (19)

Software Testing Presentation
Software Testing PresentationSoftware Testing Presentation
Software Testing Presentation
 
Intro to Software Quality Assurance
Intro to Software Quality AssuranceIntro to Software Quality Assurance
Intro to Software Quality Assurance
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Why is Software Testing necessary?
Why is Software Testing necessary?Why is Software Testing necessary?
Why is Software Testing necessary?
 
Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)
 
What is Software Testing?
What is Software Testing?What is Software Testing?
What is Software Testing?
 
Software testing
Software testingSoftware testing
Software testing
 
Spm unit v-software reliability-
Spm unit v-software reliability-Spm unit v-software reliability-
Spm unit v-software reliability-
 
Test Automation - Principles and Practices
Test Automation - Principles and PracticesTest Automation - Principles and Practices
Test Automation - Principles and Practices
 
Outsource Software Testing Services Company in US
Outsource Software Testing Services Company in USOutsource Software Testing Services Company in US
Outsource Software Testing Services Company in US
 
Software Verification in Academia and Business
Software Verification in Academia and BusinessSoftware Verification in Academia and Business
Software Verification in Academia and Business
 
Soft serve quality control
Soft serve quality controlSoft serve quality control
Soft serve quality control
 
CH 13
CH 13CH 13
CH 13
 
How to accelerate UAT & Regression Testing
How to accelerate UAT & Regression TestingHow to accelerate UAT & Regression Testing
How to accelerate UAT & Regression Testing
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft Webinar
 
Bug tracking tool
Bug tracking toolBug tracking tool
Bug tracking tool
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
 
Intro to Software Engineering - Software Quality Assurance
Intro to Software Engineering - Software Quality AssuranceIntro to Software Engineering - Software Quality Assurance
Intro to Software Engineering - Software Quality Assurance
 
Sustainable Test Automation: Collaborate within Team
Sustainable Test Automation: Collaborate within TeamSustainable Test Automation: Collaborate within Team
Sustainable Test Automation: Collaborate within Team
 

Similar to Fundamentals of testing

Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testingsuci maisaroh
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)Aziz Chikhly
 
ISTQB Chapter 1 Fundamentals of Testing
ISTQB Chapter 1  Fundamentals of TestingISTQB Chapter 1  Fundamentals of Testing
ISTQB Chapter 1 Fundamentals of Testingssuser2d9936
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxrajkamalv
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wmWiwik Muslehatin
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingSiti Rubayati
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingTaufik hidayat
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testingaidil fitra
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2seli purnianda
 
Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)helfa safitri
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
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
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessarychayo rona
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)diana fitri, S.Kom
 

Similar to Fundamentals of testing (20)

Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
 
ISTQB Chapter 1 Fundamentals of Testing
ISTQB Chapter 1  Fundamentals of TestingISTQB Chapter 1  Fundamentals of Testing
ISTQB Chapter 1 Fundamentals of Testing
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wm
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2
 
Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)Fundamentals of testing (what is testing necessary)
Fundamentals of testing (what is testing necessary)
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Bab 1
Bab 1Bab 1
Bab 1
 
EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEW
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessary
 
Defining software testing
Defining software testingDefining software testing
Defining software testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
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
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
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...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Fundamentals of testing

  • 1. FUNDAMENTALS OF TESTING Jurusan Sistem Informasi Fakultas Sains dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim Riau FAJAR AYU NINGRUM
  • 2. Software systems context Causes of software defects Role of testing in software development, maintenance and operations Testing and Quality Viewpoints of expectations and quality Defining software testing Software test and driving test compared
  • 3. Not all software systems carry the same level of riskand not all problemshave the same impact when they occur . Software systems context A risk is something that has not happened yet and it may never happen; it is a potential problem
  • 4. Causes of software defects Error If someone makes an error or mistake in using the software, this may leaddirectly to a problem - the software is used incorrectly and so does not behaveas we expected Defects However, people also design and build the software and theycan make mistakes during the design and build. These mistakes mean that thereare flaws in the software itself. These are called defects or sometimes bugs orfaults. Remember, the software is not just the code; check the definition of soft-ware again to remind yourself Failure When the software code has been built, it is executed and then any defects maycause the system to fail to do what it should do (or do something it shouldn't),causing a failure
  • 5.  but itis difficult for people to find their own mistakes while building a product.  that if a mistake does not lead to adefect or a defect does not lead to a failure, then it is not of any importance -we may not even know we've made an error .  Our fallibility is compounded when we lack experience, don't have the rightinformation, misunderstand, or if we are careless, tired or under time pressure .  Additionally, we are more likely to make errors when dealing with perplexing technical or business problems, complex business processes, code or infrastructure, changing technologies, or many system interactions Slide Title Goes Here
  • 6. Role of testing in software development, maintenance and operations Role of testing in softwarWe have seen that human errors can cause a defect or fault to be introduced atany stage within the software development life cycle and, depending upon theconsequences of the mistake, the results can be trivial or catastrophic. Rigoroustesting is necessary during development and maintenance to identify defects, inorder to reduce failures in the operational environment and increase the qualityof the operational system. This includes looking for places in the user interfacewhere a user might make a mistake in input of data or in the interpretation ofthe output, and looking for potential weak points for intentional and maliciousattack. e development, maintenance and operations
  • 7. TESTING AND QUALITY  Testing Testing can give confidence in the quality of the software if it finds few or no defects, provided we are happy that the testing is sufficiently rigorous . Of course, a poor test may uncover few defects and leave uswith a false sense of security Quality We need to understand what the customers understand by quality andwhat their expectations are. What we as software developers and testers maysee as quality – that the software meets its defined specification, is technicallyexcellent and has few bugs in it – may not provide a quality solution for our customers. Furthermore, if our customers find they have spent more money thanthey wanted or that the software doesn't help them carry out their tasks, theywon't be impressed by the technical excellence of the solution
  • 8. Evaluation Process All life cycle activities Both static and dynamic Planning Preparation • Testing is a process rather than a single activity– there are a seriesof activities involved. • Chapter 2 looks at testing as a process that takesplace throughout the software development life cycle. We saw earlierthat the later in the life cycle we find bugs, the more expensive they areto fix. • We'll see in Chapter 3 that as well as tests wherethe software code is executed to demonstrate the results of running tests(often called dynamic testing) we can also test and find defects without executing code. • Activities take place before and after test execution We need tomanage the testing; for example, we plan what we want to do; we control thetest activities; we report on testing progress and the status of the softwareunder test; and we finalize or close testing when a phase completes • We need to choose what testing we'll do, by selecting test conditions and designing test cases. Chapter 4 covers the test design activities.