SlideShare a Scribd company logo
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 aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldi
aldi aulia
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Afridol Afridol
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Husnul Habib
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Risun Hidayat
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
As Fazli
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Evi Yandri
 
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...
Alfarizi ,S.Kom
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
novranrafindo
 
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)
Dhy Ardiansyah
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Taufik hidayat
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testing
Egi Ilham Elnusa
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
hasbi sidiq
 
System dependability
System dependabilitySystem dependability
System dependability
sommerville-videos
 
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
lloyd barnette
 
False alarms
False alarmsFalse alarms
False alarms
delltude72
 
Fmea 10 19 05 Handouts
Fmea 10 19 05 HandoutsFmea 10 19 05 Handouts
Fmea 10 19 05 Handouts
Integrated Safety Services, LLC
 

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

Fundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & ImplementationsFundamentals of testing - Testing & Implementations
Fundamentals of testing - Testing & Implementations
yogi syafrialdi
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Rudy Setiawan
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
aidil fitra
 
SOFTWARE SYSTEMS CONTEXT
SOFTWARE SYSTEMS CONTEXTSOFTWARE SYSTEMS CONTEXT
SOFTWARE SYSTEMS CONTEXT
MeychiaGaiza
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
rajkamalv
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
Bobi Henfajri Setiawan
 
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
Saraj Hameed Sidiqi
 
Foundations Of Software Testing
Foundations Of Software TestingFoundations Of Software Testing
Foundations Of Software TestingTony Ennis
 
Software Testing Foundation
Software Testing FoundationSoftware Testing Foundation
Software Testing Foundation
alessandro100
 
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)
Putri nadya Fazri
 
Bab 1
Bab 1Bab 1
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testing
Ilham Wahyudi
 
Softwaresystemscontext windirohmaheny11453205427kelase
Softwaresystemscontext windirohmaheny11453205427kelaseSoftwaresystemscontext windirohmaheny11453205427kelase
Softwaresystemscontext windirohmaheny11453205427kelase
windi rohmaheny
 
Software system context endang
Software system context endangSoftware system context endang
Software system context endang
endang setianingsih
 
Testing & implementation system 1-wm
Testing & implementation system 1-wmTesting & implementation system 1-wm
Testing & implementation system 1-wm
Wiwik Muslehatin
 
Software System Context
Software System ContextSoftware System Context
Software System Context
Suci Rahmawati
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1
Sinthia Gusfah
 
Software system context hazahara
Software system context hazaharaSoftware system context hazahara
Software system context hazahara
Hazahara shadah
 
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...
Tiara Ramadhani
 
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
And11ka
 

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

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 

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