SlideShare a Scribd company logo
1 of 13
F u n d a m e n t a l s o f T e s t i n g
T E S T I N G I M P L E M E N T A S I S I S T E M
The Power of PowerPoint | thepopp.com
INTRODUCTION
The Power of PowerPoint | thepopp.com 3
Program Studi S1 Sistem Informasi
Fakultas Sains dan Teknologi
UIN Sultan Syarif Kasim Riau
2017
http://sif.uin -suska.ac.id/
http://fst.uin -suska.ac.id/
http://www.uin -suska.ac.id/
REGINA KHALIDA
The Power of PowerPoint | thepopp.com 4
Software System Context Couses of Software Defects
Role of Testing in Software
Development, Maintenance,
and Operations
Testing and Quality
1 2
3 4
The Power of PowerPoint | thepopp.com 5
View Points Of
Expectations and Quality
Defining Software
Testing
Software Test and
Driving Test Compared
5 6 7
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
System
Context
6
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 we think about what might go wrong we have to
consider defects and failures arising from :
 errors in the specification, design and implementation of the
software and system;
 errors in use of the system;
 environmental conditions;
 intentional damage;
 potential consequences of earlier errors, intentional damage,
defects
 and failures.
Couses of
Software
Defects
7
We have seen that human errors can cause a defect or
fault to be introduced at any stage within the software
development life cycle and, depending upon the
consequences of the mistake, the results can be trivial
or catastrophic. Rigorous testing is necessary during
development and maintenance to identify defects, in
order to reduce failures in the operational environment
and increase the quality of the operational system. This
includes looking for places in the user interface where
a user might make a mistake in input of data or in the
interpretation of the output, and looking for potential
weak points for intentional and malicious attack.
Executing tests helps us move towards improved
quality of product and service, but that is just one of
the verification and validation methods applied to
products. Processes are also checked, for example by
audit. A variety of methods may be used to check work,
some of which are done by the author of the work and
some by others to get an independent view.
Role of Testing
in Software
Development ,
Maintenanc e,
and Operations
8
What is quality?
Projects aim to deliver software to specification. For
the project to deliver what the customer needs requires
a correct specification. Additionally, the delivered
system must meet the specification. This is known as
validation ('is this the right specification?') and
verification ('is the system correct to specification?'). Of
course, as well as wanting the right software system
built correctly, the customer wants the project to be
within budget and timescale – it should arrive when
they need it and not cost too much.
Testing and
Quality
9
View Points
Of
Expectations
and Quality
10
 Process – Testing is a process rather than a single activity – there are a series
of activities involved.
 All life cycle activities – Chapter 2 looks at testing as a process that takes place
throughout the software development life cycle. We saw earlier that the later in
the life cycle we find bugs, the more expensive they are to fix. If we can find and
fix requirements defects at the requirements stage, that must make commercial
sense.
 Both static and dynamic – We'll see in Chapter 3 that as well as tests where the
software code is executed to demonstrate the results of running tests (often
called dynamic testing) we can also test and find defects without exe cuting
code. This is called static testing. This testing includes reviewing of documents
(including source code) and static analysis. This is a useful and cost effective
way of testing.
 Planning – Activities take place before and after test execution. We need to
manage the testing; for example, we plan what we want to do; we control the
test activities; we report on testing progress and the status of the software
under test; and we finalize or close testing when a phase completes.
 Preparation – We need to choose what testing we'll do, by selecting test con
ditions and designing test cases.
 Evaluation – As well as executing the tests, we must check the results and
evaluate the software under test and the completion criteria, which help us
decide whether we have finished testing and whether the software product has
passed the tests.
 Software products and related work products – We don't just test code. We test
the requirements and design specifications, and we test related documents
such as operation, user and training material. Static and dynamic testing are
both needed to cover the range of products we need to test.
Defining
Software
Testing
11
 Planning and preparation - Both the examiner and the tester
need a plan of action and need to prepare for the test, which is
not exhaustive, but is repre sentative and allows risk-based
decisions about the outcome.
 Static and dynamic - Both dynamic (driving the car or executing
the software) and static (questions to the driver or a review of
the software) tests are useful.
 Evaluation - The examiner and the tester must make an
objective evaluation, log the test outcome and report factual
observations about the test.
 Determine that they satisfy specified requirements – The
examiner and tester both check against requirements to carry
out particular tasks successfully.
 Demonstrate that they are fit for purpose - The examiner and
the tester are not evaluating for perfection but for meeting
sufficient of the attributes required to pass the test.
 Detect defects - The examiner and tester both look for and log
faults.
 The driver being examined becomes the system or software
under test, and
 you'll see as we go through this book that the same approach
broadly holds.
Software Test
and Driving
Test
Compared
12
THANK YOU!

More Related Content

What's hot

Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanSampath kumar Mohan
 
Building a software testing environment
Building a software testing environmentBuilding a software testing environment
Building a software testing environmentHimanshu
 
Software reliability
Software reliabilitySoftware reliability
Software reliabilityAnand Kumar
 
EVALUATING SOFTWARE QUALITY : A QUANTITATIVE APPROACH
EVALUATING SOFTWAREQUALITY : A QUANTITATIVEAPPROACHEVALUATING SOFTWAREQUALITY : A QUANTITATIVEAPPROACH
EVALUATING SOFTWARE QUALITY : A QUANTITATIVE APPROACHPriyanka Karancy
 
What is sanity testing
What is sanity testingWhat is sanity testing
What is sanity testingpooja deshmukh
 
Non functional testing
Non functional testingNon functional testing
Non functional testingVaibhav Dash
 
Unit 1 defects classes
Unit 1 defects classesUnit 1 defects classes
Unit 1 defects classesRoselin Mary S
 
Software testing
Software testingSoftware testing
Software testingAeroqube
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing pptAjit Waje
 
Test cases planning
Test cases planningTest cases planning
Test cases planningAbdul Basit
 
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
 
Software measurement lecture 7
Software measurement lecture 7Software measurement lecture 7
Software measurement lecture 7Abdul Basit
 
Benefits of regression testing
Benefits of regression testingBenefits of regression testing
Benefits of regression testingMindfire LLC
 
Software validation
Software validationSoftware validation
Software validationRobert Phe
 
Fundamental Test Process - APRIDILA ANGGITA SURI
Fundamental Test Process - APRIDILA ANGGITA SURIFundamental Test Process - APRIDILA ANGGITA SURI
Fundamental Test Process - APRIDILA ANGGITA SURIApridila Anggita Suri
 

What's hot (20)

Non Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar MohanNon Functional Testing_Sampath kumar Mohan
Non Functional Testing_Sampath kumar Mohan
 
Effective Software Testing
Effective Software TestingEffective Software Testing
Effective Software Testing
 
Building a software testing environment
Building a software testing environmentBuilding a software testing environment
Building a software testing environment
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing introduction
Testing introductionTesting introduction
Testing introduction
 
Fundamentals of software testing
Fundamentals of software testingFundamentals of software testing
Fundamentals of software testing
 
Software reliability
Software reliabilitySoftware reliability
Software reliability
 
EVALUATING SOFTWARE QUALITY : A QUANTITATIVE APPROACH
EVALUATING SOFTWAREQUALITY : A QUANTITATIVEAPPROACHEVALUATING SOFTWAREQUALITY : A QUANTITATIVEAPPROACH
EVALUATING SOFTWARE QUALITY : A QUANTITATIVE APPROACH
 
Test plan
Test planTest plan
Test plan
 
What is sanity testing
What is sanity testingWhat is sanity testing
What is sanity testing
 
Non functional testing
Non functional testingNon functional testing
Non functional testing
 
Unit 1 defects classes
Unit 1 defects classesUnit 1 defects classes
Unit 1 defects classes
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Test cases planning
Test cases planningTest cases planning
Test cases planning
 
Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)
 
Software measurement lecture 7
Software measurement lecture 7Software measurement lecture 7
Software measurement lecture 7
 
Benefits of regression testing
Benefits of regression testingBenefits of regression testing
Benefits of regression testing
 
Software validation
Software validationSoftware validation
Software validation
 
Fundamental Test Process - APRIDILA ANGGITA SURI
Fundamental Test Process - APRIDILA ANGGITA SURIFundamental Test Process - APRIDILA ANGGITA SURI
Fundamental Test Process - APRIDILA ANGGITA SURI
 

Similar to Fundamental of testing

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingSiti Rubayati
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testingdevinta sari
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingYusran5
 
Fundamentals of testing aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldialdi aulia
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil BarotHarshil Barot
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGSachin Pathania
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessarychayo rona
 
Fundamentals of testing jef (1)
Fundamentals of testing jef (1)Fundamentals of testing jef (1)
Fundamentals of testing jef (1)jefri_antoni
 
Top 10 Practices for Software Testing in 2023.pptx
Top 10 Practices for Software Testing in 2023.pptxTop 10 Practices for Software Testing in 2023.pptx
Top 10 Practices for Software Testing in 2023.pptxOprim Solutions
 

Similar to Fundamental of testing (20)

2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Defining software testing
Defining software testingDefining software testing
Defining software testing
 
Bab 1
Bab 1Bab 1
Bab 1
 
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is TestingMateri testing dan Implementasi sistem - Fundamentals of testing-What is Testing
Materi testing dan Implementasi sistem - Fundamentals of testing-What is Testing
 
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 aldi
Fundamentals of testing aldiFundamentals of testing aldi
Fundamentals of testing aldi
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
What is testing?
What is testing?What is testing?
What is 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
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessary
 
Fundamentals of testing jef (1)
Fundamentals of testing jef (1)Fundamentals of testing jef (1)
Fundamentals of testing jef (1)
 
Istqb v.1.2
Istqb v.1.2Istqb v.1.2
Istqb v.1.2
 
Top 10 Practices for Software Testing in 2023.pptx
Top 10 Practices for Software Testing in 2023.pptxTop 10 Practices for Software Testing in 2023.pptx
Top 10 Practices for Software Testing in 2023.pptx
 

Recently uploaded

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 

Recently uploaded (20)

Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 

Fundamental of testing

  • 1. F u n d a m e n t a l s o f T e s t i n g T E S T I N G I M P L E M E N T A S I S I S T E M The Power of PowerPoint | thepopp.com
  • 3. The Power of PowerPoint | thepopp.com 3 Program Studi S1 Sistem Informasi Fakultas Sains dan Teknologi UIN Sultan Syarif Kasim Riau 2017 http://sif.uin -suska.ac.id/ http://fst.uin -suska.ac.id/ http://www.uin -suska.ac.id/ REGINA KHALIDA
  • 4. The Power of PowerPoint | thepopp.com 4 Software System Context Couses of Software Defects Role of Testing in Software Development, Maintenance, and Operations Testing and Quality 1 2 3 4
  • 5. The Power of PowerPoint | thepopp.com 5 View Points Of Expectations and Quality Defining Software Testing Software Test and Driving Test Compared 5 6 7
  • 6. 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 System Context 6
  • 7. 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 we think about what might go wrong we have to consider defects and failures arising from :  errors in the specification, design and implementation of the software and system;  errors in use of the system;  environmental conditions;  intentional damage;  potential consequences of earlier errors, intentional damage, defects  and failures. Couses of Software Defects 7
  • 8. We have seen that human errors can cause a defect or fault to be introduced at any stage within the software development life cycle and, depending upon the consequences of the mistake, the results can be trivial or catastrophic. Rigorous testing is necessary during development and maintenance to identify defects, in order to reduce failures in the operational environment and increase the quality of the operational system. This includes looking for places in the user interface where a user might make a mistake in input of data or in the interpretation of the output, and looking for potential weak points for intentional and malicious attack. Executing tests helps us move towards improved quality of product and service, but that is just one of the verification and validation methods applied to products. Processes are also checked, for example by audit. A variety of methods may be used to check work, some of which are done by the author of the work and some by others to get an independent view. Role of Testing in Software Development , Maintenanc e, and Operations 8
  • 9. What is quality? Projects aim to deliver software to specification. For the project to deliver what the customer needs requires a correct specification. Additionally, the delivered system must meet the specification. This is known as validation ('is this the right specification?') and verification ('is the system correct to specification?'). Of course, as well as wanting the right software system built correctly, the customer wants the project to be within budget and timescale – it should arrive when they need it and not cost too much. Testing and Quality 9
  • 11.  Process – Testing is a process rather than a single activity – there are a series of activities involved.  All life cycle activities – Chapter 2 looks at testing as a process that takes place throughout the software development life cycle. We saw earlier that the later in the life cycle we find bugs, the more expensive they are to fix. If we can find and fix requirements defects at the requirements stage, that must make commercial sense.  Both static and dynamic – We'll see in Chapter 3 that as well as tests where the software code is executed to demonstrate the results of running tests (often called dynamic testing) we can also test and find defects without exe cuting code. This is called static testing. This testing includes reviewing of documents (including source code) and static analysis. This is a useful and cost effective way of testing.  Planning – Activities take place before and after test execution. We need to manage the testing; for example, we plan what we want to do; we control the test activities; we report on testing progress and the status of the software under test; and we finalize or close testing when a phase completes.  Preparation – We need to choose what testing we'll do, by selecting test con ditions and designing test cases.  Evaluation – As well as executing the tests, we must check the results and evaluate the software under test and the completion criteria, which help us decide whether we have finished testing and whether the software product has passed the tests.  Software products and related work products – We don't just test code. We test the requirements and design specifications, and we test related documents such as operation, user and training material. Static and dynamic testing are both needed to cover the range of products we need to test. Defining Software Testing 11
  • 12.  Planning and preparation - Both the examiner and the tester need a plan of action and need to prepare for the test, which is not exhaustive, but is repre sentative and allows risk-based decisions about the outcome.  Static and dynamic - Both dynamic (driving the car or executing the software) and static (questions to the driver or a review of the software) tests are useful.  Evaluation - The examiner and the tester must make an objective evaluation, log the test outcome and report factual observations about the test.  Determine that they satisfy specified requirements – The examiner and tester both check against requirements to carry out particular tasks successfully.  Demonstrate that they are fit for purpose - The examiner and the tester are not evaluating for perfection but for meeting sufficient of the attributes required to pass the test.  Detect defects - The examiner and tester both look for and log faults.  The driver being examined becomes the system or software under test, and  you'll see as we go through this book that the same approach broadly holds. Software Test and Driving Test Compared 12