SlideShare a Scribd company logo
1 of 13
WHAT IS THE TESTING ?
BY :
WINY SETYA NINGRUM (11453201653)
Departement of Information System
Faculty of Science and Technology
State Islamic University of Sultan Syarif Kasim of Riau
WHAT IS TESTING?
In this section, we will review the common objectives of testing.
We'll explain how testing helps us to find defects, provide confidence
and information, and prevent defects
As you read this section, you'll encounter the terms code, debugging,
development of software, requirement, review, test basis, test
case, testing and test objective.
A. THE DRIVING TEST - AN ANALOGY FOR SOFTWARE
TESTING
• The examiner takes the driver through a route which tests many possible driving
activities, such as road junctions of different types, control and maneuvering of
the car, ability to stop safely in an emergency, and awareness of the road, other
road users and hazards. Some of the activities must be tested. For example, in the
UK, an emergency stop test is always carried out, with the examiner simulating
the moment of emergency by hitting the dashboard at which point the driver must
stop the car quickly, safely and without loss of control. At the end of the test, the
examiner makes a judgment about the driver's performance
CONTINUE...
The format of the driving test and the conduct of the examiner are worth considering:
• The test is planned and prepared for. In advance of the test, the examiner has planned a
series of routes which cover the key driving activities to allow a thorough assessment of
the driver's performance. The drivers under test do not know what route they will be
asked to take in advance, although they know the requirements of the test.
• The test has known goals - assessing whether the driver is sufficiently safe to be allowed
to drive by themselves without an instructor, without endanger ing themselves or others.
There are clear pass/fail criteria, based on the number and severity of faults, but the
confidence of the examiner in the driving is also taken into account.
CONTINUE...
• The test is therefore carried out to show that the driver satisfies the require ments for driving
and to demonstrate that they are fit to drive. The examiner looks for faults in the driving.
The time for the test is limited, so it is not a complete test of the driver's abilities, but it is
representative and allows the examiner to make a risk-based decision about the driver. All
the drivers are tested in an equivalent way and the examiner is neutral and objective. The
examiner will log factual observations which enable a risk assessment to be made about the
driving. Based on this, a driver who passes will be given a form enabling him to apply for a
full driving license. A driver who fails will get a report with a list of faults and areas to
improve before retaking the test.
• As well as observing the driver actually driving, the examiner will ask questions or the
driver will take a written exam to check their under standing of the rules of the road, road
signs, and what to do in various traffic situations
B. DEFINING SOFTWARE TESTING
With that analogy in mind, let's look at the ISTQB definition of software testing.
Let's break the definition down into parts; the definition has some key phrases to remember. 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 - 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. We'll build the right software,
correctly and at a lower cost overall. So, the thought process of design ing tests early in the life cycle can help to prevent
defects from being introduced into code. We sometimes refer to this as 'verifying the test basis via the test design'. The
test basis includes documents such as the requirements and design specifications. You'll see how to do this in Chapter
4.
• 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.
CONTINUE...
• Preparation - We need to choose what testing we'll do, by selecting test con ditions and
designing test cases. Chapter 4 covers the test design activities.
• 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.
C. SOFTWARE TEST AND DRIVING TEST
COMPARED
We can see that the software test is very like a driving test in many ways, although of course it is not a perfect analogy!
The driving examiner becomes the software tester. 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.
• 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.
• 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 soft ware) 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.
D. WHEN CAN WE MEET OUR TEST OBJECTIVES?
Testing Principle - Early testing
Testing activities should start as early as possible in the software or system development life
cycle and should be focused on defined objectives.
We can use both dynamic testing and static testing as a means for achieving similar test
objectives. Both provide information to improve both the system to be tested, and the
development and testing processes. We mentioned above that testing can have different goals
and objectives, which often include:
• finding defects;
• gaining confidence in and providing information about the level of quality;
• preventing defects
CONTINUE...
• Fixing the defects may not always be the test objective or the desired
outcome. Sometimes we simply want to gather information and measure
the software. This can take the form of attribute measures such as mean
time between failures to assess reliability, or an assessment of the defect
density in the software to assess and understand the risk of releasing it.
• When maintaining software by enhancing it or fixing bugs, we are
changing software that is already being used. In that case an objective of
testing may be to ensure that we have not made errors and introduced
defects when we changed the software. This is called regression testing -
testing to ensure nothing has changed that should not have changed.
BIBLIONGRAPHY
Graham et.al. (2011). ISTQB-Fondation of
Software Testing. London: Cengage Learning
EMEA.
LINK
• http://sif.uin-suska.ac.id/
• http://fst.uin-suska.ac.id/
• http://www.uin-suska.ac.id/
THANK YOU

More Related Content

What's hot

01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanJames Coleman
 
Session 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniqueSession 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniquePoojaLQA
 
How to perform software testing
How to perform software testing How to perform software testing
How to perform software testing Minh Anh Nguyen
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management Manish Chaurasia
 
Overview of test process improvement frameworks
Overview of test process improvement frameworksOverview of test process improvement frameworks
Overview of test process improvement frameworksNikita Knysh
 
Istqb fl chap_6_edited
Istqb fl chap_6_editedIstqb fl chap_6_edited
Istqb fl chap_6_editedAkash gupta
 
Software testing
Software testingSoftware testing
Software testingdavidsantro
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisOAK Systems Pvt Ltd
 
Software Inspection And Defect Management
Software Inspection And Defect ManagementSoftware Inspection And Defect Management
Software Inspection And Defect ManagementAjay K
 
software project management Software inspection
software project management Software inspectionsoftware project management Software inspection
software project management Software inspectionREHMAT ULLAH
 
Computer based test designs (cbt)
Computer based test designs (cbt)Computer based test designs (cbt)
Computer based test designs (cbt)munsif123
 

What's hot (20)

01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
 
Test cases
Test casesTest cases
Test cases
 
Session 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniqueSession 08 - Test Case Design and Technique
Session 08 - Test Case Design and Technique
 
Test case writing
Test case writingTest case writing
Test case writing
 
How to perform software testing
How to perform software testing How to perform software testing
How to perform software testing
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
 
Overview of test process improvement frameworks
Overview of test process improvement frameworksOverview of test process improvement frameworks
Overview of test process improvement frameworks
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Istqb fl chap_6_edited
Istqb fl chap_6_editedIstqb fl chap_6_edited
Istqb fl chap_6_edited
 
Defect Prevention
Defect PreventionDefect Prevention
Defect Prevention
 
Software testing
Software testingSoftware testing
Software testing
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Software Inspection And Defect Management
Software Inspection And Defect ManagementSoftware Inspection And Defect Management
Software Inspection And Defect Management
 
software project management Software inspection
software project management Software inspectionsoftware project management Software inspection
software project management Software inspection
 
How to write defect
How to write defectHow to write defect
How to write defect
 
Software Testing ppt
Software Testing pptSoftware Testing ppt
Software Testing ppt
 
Computer based test designs (cbt)
Computer based test designs (cbt)Computer based test designs (cbt)
Computer based test designs (cbt)
 
Why testing is necessary
Why testing is necessaryWhy testing is necessary
Why testing is necessary
 
SASHI RESUME 3P
SASHI RESUME 3PSASHI RESUME 3P
SASHI RESUME 3P
 

Similar to What is the testing ?

Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessarychayo rona
 
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
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...ChithraCegon
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testingReginaKhalida
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answersRajnish Sharma
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2seli purnianda
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1fadhilla elita
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingBugRaptors
 
Fundamentals of testing what is testing (reference graham et.al (2006))
Fundamentals of testing   what is testing (reference graham et.al (2006))Fundamentals of testing   what is testing (reference graham et.al (2006))
Fundamentals of testing what is testing (reference graham et.al (2006))Alfarizi ,S.Kom
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTINGacemindia
 
Fundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelaseFundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelasewindi rohmaheny
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxMusaBashir9
 

Similar to What is the testing ? (20)

What is TESTING
What is TESTINGWhat is TESTING
What is TESTING
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
What is testing
What is testingWhat is testing
What is testing
 
Why is testing necessary
Why is testing necessaryWhy is testing necessary
Why is testing necessary
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
Fundamentals of Testing Section 1/6
Fundamentals of Testing   Section 1/6Fundamentals of Testing   Section 1/6
Fundamentals of Testing Section 1/6
 
Fundamentals of testing (1)
Fundamentals of testing (1)Fundamentals of testing (1)
Fundamentals of testing (1)
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answers
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing what is testing (reference graham et.al (2006))
Fundamentals of testing   what is testing (reference graham et.al (2006))Fundamentals of testing   what is testing (reference graham et.al (2006))
Fundamentals of testing what is testing (reference graham et.al (2006))
 
Fundamental Test Process
Fundamental Test ProcessFundamental Test Process
Fundamental Test Process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Fundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelaseFundamentaltestprocess windirohmaheny11453205427 kelase
Fundamentaltestprocess windirohmaheny11453205427 kelase
 
Fundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptxFundamentals_of_Software_testing.pptx
Fundamentals_of_Software_testing.pptx
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
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
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
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
 
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
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
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
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
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
 
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
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

What is the testing ?

  • 1. WHAT IS THE TESTING ? BY : WINY SETYA NINGRUM (11453201653) Departement of Information System Faculty of Science and Technology State Islamic University of Sultan Syarif Kasim of Riau
  • 2. WHAT IS TESTING? In this section, we will review the common objectives of testing. We'll explain how testing helps us to find defects, provide confidence and information, and prevent defects As you read this section, you'll encounter the terms code, debugging, development of software, requirement, review, test basis, test case, testing and test objective.
  • 3. A. THE DRIVING TEST - AN ANALOGY FOR SOFTWARE TESTING • The examiner takes the driver through a route which tests many possible driving activities, such as road junctions of different types, control and maneuvering of the car, ability to stop safely in an emergency, and awareness of the road, other road users and hazards. Some of the activities must be tested. For example, in the UK, an emergency stop test is always carried out, with the examiner simulating the moment of emergency by hitting the dashboard at which point the driver must stop the car quickly, safely and without loss of control. At the end of the test, the examiner makes a judgment about the driver's performance
  • 4. CONTINUE... The format of the driving test and the conduct of the examiner are worth considering: • The test is planned and prepared for. In advance of the test, the examiner has planned a series of routes which cover the key driving activities to allow a thorough assessment of the driver's performance. The drivers under test do not know what route they will be asked to take in advance, although they know the requirements of the test. • The test has known goals - assessing whether the driver is sufficiently safe to be allowed to drive by themselves without an instructor, without endanger ing themselves or others. There are clear pass/fail criteria, based on the number and severity of faults, but the confidence of the examiner in the driving is also taken into account.
  • 5. CONTINUE... • The test is therefore carried out to show that the driver satisfies the require ments for driving and to demonstrate that they are fit to drive. The examiner looks for faults in the driving. The time for the test is limited, so it is not a complete test of the driver's abilities, but it is representative and allows the examiner to make a risk-based decision about the driver. All the drivers are tested in an equivalent way and the examiner is neutral and objective. The examiner will log factual observations which enable a risk assessment to be made about the driving. Based on this, a driver who passes will be given a form enabling him to apply for a full driving license. A driver who fails will get a report with a list of faults and areas to improve before retaking the test. • As well as observing the driver actually driving, the examiner will ask questions or the driver will take a written exam to check their under standing of the rules of the road, road signs, and what to do in various traffic situations
  • 6. B. DEFINING SOFTWARE TESTING With that analogy in mind, let's look at the ISTQB definition of software testing. Let's break the definition down into parts; the definition has some key phrases to remember. 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 - 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. We'll build the right software, correctly and at a lower cost overall. So, the thought process of design ing tests early in the life cycle can help to prevent defects from being introduced into code. We sometimes refer to this as 'verifying the test basis via the test design'. The test basis includes documents such as the requirements and design specifications. You'll see how to do this in Chapter 4. • 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.
  • 7. CONTINUE... • Preparation - We need to choose what testing we'll do, by selecting test con ditions and designing test cases. Chapter 4 covers the test design activities. • 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.
  • 8. C. SOFTWARE TEST AND DRIVING TEST COMPARED We can see that the software test is very like a driving test in many ways, although of course it is not a perfect analogy! The driving examiner becomes the software tester. 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. • 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. • 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 soft ware) 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.
  • 9. D. WHEN CAN WE MEET OUR TEST OBJECTIVES? Testing Principle - Early testing Testing activities should start as early as possible in the software or system development life cycle and should be focused on defined objectives. We can use both dynamic testing and static testing as a means for achieving similar test objectives. Both provide information to improve both the system to be tested, and the development and testing processes. We mentioned above that testing can have different goals and objectives, which often include: • finding defects; • gaining confidence in and providing information about the level of quality; • preventing defects
  • 10. CONTINUE... • Fixing the defects may not always be the test objective or the desired outcome. Sometimes we simply want to gather information and measure the software. This can take the form of attribute measures such as mean time between failures to assess reliability, or an assessment of the defect density in the software to assess and understand the risk of releasing it. • When maintaining software by enhancing it or fixing bugs, we are changing software that is already being used. In that case an objective of testing may be to ensure that we have not made errors and introduced defects when we changed the software. This is called regression testing - testing to ensure nothing has changed that should not have changed.
  • 11. BIBLIONGRAPHY Graham et.al. (2011). ISTQB-Fondation of Software Testing. London: Cengage Learning EMEA.