SlideShare a Scribd company logo
1 of 10
Chapter 1
Fundamentals of
testing
ADE AFSA
11453201937
Program studi Sistem Informasi
Fakultas Sains dan Tenologi
Universitas Islam Negeri Sultan Syarif kasim Riau
Some of the problems we encounter when using software are quite trivial, but others can be
costly and damaging - with loss of money, time or business reputation - and even may result in
injury or death. For example, suppose a user interface has typographical defects. Does this
matter? It may be trivial, but it could have a significant effect, depending on the website and the
defect:
• If my personal family-tree website has my maternal grandmother's maiden name spelt
wrong, my mother gets annoyed and I have to put up with some family teasing, but I can fix it
easily and only the family see it (probably).
• If the company website has some spelling mistakes in the text, potential customers may be
put off the company as it looks unprofessional.
• If a software program miscalculates pesticide application quantities, the effect could be very
significant: suppose a decimal point is wrongly placed so that the application rate is 10 times
too large. The farmer or gardener uses more pesticide than needed, which raises his costs,
has environmental impacts on wildlife and water supplies and has health and safety impact
for the farmer, gardener, family and workforce, livestock and pets. There may also be
consequent loss of trust in and business for the company and possible legal costs and fines
for causing the environmental and health problems.
Software systems context
If someone makes an error or mistake in using the software, this may lead
directly to a problem - the software is used incorrectly and so does not behave as we
expected. However, people also design and build the software and they can make
mistakes during the design and build. These mistakes mean that there are flaws in the
software itself. These are called defects or sometimes bugs or faults. Remember, the
software is not just the code; check the definition of soft- ware again to remind
yourself.
When the software code has been built, it is executed and then any defects may
cause the system to fail to do what it should do (or do something it shouldn't), causing a
failure. Not all defects result in failures; some stay dormant in the code and we may
never notice them.
Causes of software defects
Do our mistakes
matter?
When we think about what might go wrong we have to consider defects
and failures arising from:
1. errors in the specification, design and implementation of the
software and system;
2. errors in use of the system;
3. environmental conditions;
4. intentional damage;
5. potential consequences of earlier errors, intentional damage, defects
and failures.
Testing helps us to measure the quality of software in terms of the number of
defects found, the tests run, and the system covered by the tests. We can do this for
both the functional attributes of the software (for example, printing a report correctly)
and for the non-functional software requirements and characteristics (for example,
printing a report quickly enough).
Testing and quality
Testing and quality
The definition starts
with a description of
testing as a process
and then lists some
objectives of the test
process. First, let's
look at testing as a
process:
Process – Testing is a
process rather than a
single activity
All life cycle activities
Both static and
dynamic
Planning –
Preparation
Evaluation
Software
products and
related work
products
Defining software testing
Defining software testing
The second part of the
definition covers the
some of the objectives
for testing – the
reasons why we do it:
Determine that (software products) satisfy specified
requirements
Demonstrate that (software products) are fit for
purpose
Detect defects
Testing Principal
Tabel 1.2 Testing Principles
Fundamentals of testing

More Related Content

What's hot

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Evi Yandri
 

What's hot (20)

Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldi
 
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
Fundamentals of testingFundamentals of testing
Fundamentals 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 why is testing necessary (reference graham et.al (2...
Fundamentals of testing   why is testing necessary (reference graham et.al (2...Fundamentals of testing   why is testing necessary (reference graham et.al (2...
Fundamentals of testing why is testing necessary (reference graham et.al (2...
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
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)
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Brads resume
Brads resume Brads resume
Brads resume
 
System dependability
System dependabilitySystem dependability
System dependability
 
How to choose the right network monitor for your application
How to choose the right network monitor for your applicationHow to choose the right network monitor for your application
How to choose the right network monitor for your application
 
False alarms
False alarmsFalse alarms
False alarms
 
Praveen-Resume
Praveen-ResumePraveen-Resume
Praveen-Resume
 
Fmea 10 19 05 Handouts
Fmea 10 19 05 HandoutsFmea 10 19 05 Handouts
Fmea 10 19 05 Handouts
 
Ch3
Ch3Ch3
Ch3
 
Ch3
Ch3Ch3
Ch3
 

Similar to Fundamentals of testing

Foundations Of Software Testing
Foundations Of Software TestingFoundations Of Software Testing
Foundations Of Software Testing
Tony Ennis
 

Similar to Fundamentals of testing (20)

Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementations
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
 
SOFTWARE SYSTEMS CONTEXT
SOFTWARE SYSTEMS CONTEXTSOFTWARE SYSTEMS CONTEXT
SOFTWARE SYSTEMS CONTEXT
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Foundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdfFoundations of software testing - ISTQB Certification.pdf
Foundations of software testing - ISTQB Certification.pdf
 
Foundations Of Software Testing
Foundations Of Software TestingFoundations Of Software Testing
Foundations Of Software Testing
 
Software Testing Foundation
Software Testing FoundationSoftware Testing Foundation
Software Testing Foundation
 
Software systems context (putri nadya fazri 11453205114)
Software systems context (putri nadya fazri 11453205114)Software systems context (putri nadya fazri 11453205114)
Software systems context (putri nadya fazri 11453205114)
 
Bab 1
Bab 1Bab 1
Bab 1
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testing
 
Softwaresystemscontext windirohmaheny11453205427kelase
Softwaresystemscontext windirohmaheny11453205427kelaseSoftwaresystemscontext windirohmaheny11453205427kelase
Softwaresystemscontext windirohmaheny11453205427kelase
 
Software system context endang
Software system context endangSoftware system context endang
Software system context endang
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wm
 
Software System Context
Software System ContextSoftware System Context
Software System Context
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1
 
Software system context hazahara
Software system context hazaharaSoftware system context hazahara
Software system context hazahara
 
Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...
Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...
Tiara Ramadhani - Program Studi S1 Sistem Informasi - Fakultas Sains dan Tekn...
 
Fundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary CandraFundamentals of Testing - Andika Dwi Ary Candra
Fundamentals of Testing - Andika Dwi Ary Candra
 

Recently uploaded

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

Fundamentals of testing

  • 1. Chapter 1 Fundamentals of testing ADE AFSA 11453201937 Program studi Sistem Informasi Fakultas Sains dan Tenologi Universitas Islam Negeri Sultan Syarif kasim Riau
  • 2. Some of the problems we encounter when using software are quite trivial, but others can be costly and damaging - with loss of money, time or business reputation - and even may result in injury or death. For example, suppose a user interface has typographical defects. Does this matter? It may be trivial, but it could have a significant effect, depending on the website and the defect: • If my personal family-tree website has my maternal grandmother's maiden name spelt wrong, my mother gets annoyed and I have to put up with some family teasing, but I can fix it easily and only the family see it (probably). • If the company website has some spelling mistakes in the text, potential customers may be put off the company as it looks unprofessional. • If a software program miscalculates pesticide application quantities, the effect could be very significant: suppose a decimal point is wrongly placed so that the application rate is 10 times too large. The farmer or gardener uses more pesticide than needed, which raises his costs, has environmental impacts on wildlife and water supplies and has health and safety impact for the farmer, gardener, family and workforce, livestock and pets. There may also be consequent loss of trust in and business for the company and possible legal costs and fines for causing the environmental and health problems. Software systems context
  • 3. If someone makes an error or mistake in using the software, this may lead directly to a problem - the software is used incorrectly and so does not behave as we expected. However, people also design and build the software and they can make mistakes during the design and build. These mistakes mean that there are flaws in the software itself. These are called defects or sometimes bugs or faults. Remember, the software is not just the code; check the definition of soft- ware again to remind yourself. When the software code has been built, it is executed and then any defects may cause the system to fail to do what it should do (or do something it shouldn't), causing a failure. Not all defects result in failures; some stay dormant in the code and we may never notice them. Causes of software defects
  • 4. Do our mistakes matter? When we think about what might go wrong we have to consider defects and failures arising from: 1. errors in the specification, design and implementation of the software and system; 2. errors in use of the system; 3. environmental conditions; 4. intentional damage; 5. potential consequences of earlier errors, intentional damage, defects and failures.
  • 5. Testing helps us to measure the quality of software in terms of the number of defects found, the tests run, and the system covered by the tests. We can do this for both the functional attributes of the software (for example, printing a report correctly) and for the non-functional software requirements and characteristics (for example, printing a report quickly enough). Testing and quality
  • 7. The definition starts with a description of testing as a process and then lists some objectives of the test process. First, let's look at testing as a process: Process – Testing is a process rather than a single activity All life cycle activities Both static and dynamic Planning – Preparation Evaluation Software products and related work products Defining software testing
  • 8. Defining software testing The second part of the definition covers the some of the objectives for testing – the reasons why we do it: Determine that (software products) satisfy specified requirements Demonstrate that (software products) are fit for purpose Detect defects
  • 9. Testing Principal Tabel 1.2 Testing Principles