SlideShare a Scribd company logo
Presentation on Unit I
By
Prof. R. S. Patwardhan
 When we are testing something we are checking whether it is OK.
 Testing is necessary because we all make mistakes.
 Some of those mistakes are unimportant, but some of them are expensive
 or dangerous.
 Because we should assume our work contains mistakes, we all need to
check our own work.
 However, some mistakes come from bad assumptions and blind spots, so
we might make the same mistakes when we check our own work as we
made when we did it.
 So we should get someone else to check our work.
 Nowadays almost everyone is aware of softwares.
 We encounter them in our homes, at work, while shopping etc.
 However, most people have had an experience with software that did not
work as expected.
 Not all software systems carry the same level of risk and not all problems
have the same impact when they occur.
 A risk is something that has not happened yet and it may never happen; it
is a potential problem.
 We are concerned about these potential problems because, if one of them
did happen, we'd feel a negative impact.
 When we discuss risks, we need to consider how likely it is that the
problem would occur and the impact if it happens.
 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. It may be
trivial, but it could have a significant effect, depending on the website and
the defect.
 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.
 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.

Recommended for you

Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of Testing

This presentation explains: What is Testing ? Why is Testing Necessary ? Seven Testing Principles Fundamental Test Process psychology of Testing

istqbtestingsoftware testing
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka

YouTube Link: https://youtu.be/S2_AJP9Oeg0 **Test Automation Masters Program: https://www.edureka.co/masters-program/automation-testing-engineer-training ** This Edureka PPT on "Test Plan in Software Testing" will give you in-depth knowledge on how to create a Test Plan in Software Testing and why it is important. The following are the topics covered in the session: Software Testing Documentation What is Test Plan? Benefits of Using Test Plan Types of Test Plan How to Write a Test Plan? Test Plan Template / Test Plan Document Software Testing Blog playlist: http://bit.ly/2UXwdJm Selenium playlist: https://goo.gl/NmuzXE Selenium Blog playlist: http://bit.ly/2B7C3QR Follow us to never miss an update in the future. YouTube: https://www.youtube.com/user/edurekaIN Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka Castbox: https://castbox.fm/networks/505?country=in

what is test planwhat is test plan in software testingtest plan in software testing
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals

This document provides an overview of software testing concepts and processes. It discusses the importance of testing in the software development lifecycle and defines key terms like errors, bugs, faults, and failures. It also describes different types of testing like unit testing, integration testing, system testing, and acceptance testing. Finally, it covers quality assurance and quality control processes and how bugs are managed throughout their lifecycle.

ibm trainingsdlc
 DO OUR MISTAKES MATTER?
◦ Any human being, programmers and testers included, can make an error.
◦ These errors may produce defects in the software code or system, or in a
document.
◦ If a defect in code is executed, the system may experience a failure.
◦ So the mistakes we make matter partly because they have consequences for the
products for which we are responsible.
◦ Defects in software, systems or documents may result in failures, but not all
defects do cause failures.
◦ It is not just defects that give rise to failure.
◦ Failures can also be caused by environmental conditions as well: for example, a
radiation burst, a strong magnetic field, electronic fields, or pollution could
cause faults in hardware or firmware.
◦ Failures may also arise because of human error in interacting with the software,
perhaps a wrong input value being entered or an output being misinterpreted.
◦ Finally, failures may also be caused by someone deliberately trying to cause a
failure in a system - malicious damage.
 WHEN DO DEFECTS ARISE?
 WHAT IS THE COST OF DEFECTS?
 Rigorous testing is necessary during development and maintenance to
identify defects, in 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 help us move towards improved quality of product and
service, but that is just one of the verification and validation methods
applied to the 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.
 We may also be required to carry out software testing to meet contractual
or legal requirements, or industry specific standards.
 These standards specify what kind of techniques we must use, or the
percentage of software code that must be exercised.

Recommended for you

An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)

What is User Acceptance Testing? Also known as UAT or UAT testing. it's basically, a process of verifying that a solution works for the user. And the key word here, is user. This is crucial, because they’re the people who will use the software on a daily basis. There are many aspects to consider with respect to software functionality. There’s unit testing, functional testing, integration testing, and system testing, amongst many others. What Is User Acceptance Testing? I’ll keep it simple; according to Techopedia, UAT (some people call it UAT testing as well) is: User acceptance testing (UAT) is the last phase of the software testing process. During UAT, actual software users test the software to make sure it can handle required tasks in real-world scenarios, according to specifications. UAT is one of the final and critical software project procedures that must occur before newly developed software is rolled out to the market. User acceptance testing (UAT), otherwise known as Beta, Application, or End-User Testing, is often considered the last phase in the web development process, the one before final installation of the software on the client site, or final distribution of it.

user acceptance testinguatuat testing
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle

The document describes the key stages of the software testing life cycle (STLC), including contract signing, requirement analysis, test planning, test development, test execution, defect reporting, and product delivery. It provides details on the processes, documents, and activities involved in each stage. Risk analysis and bug/defect management processes are also summarized. Various test metrics and bug tracking tools that can be used are listed.

testingsoftware
functional testing
functional testing functional testing
functional testing

Functional testing is a type of software testing that validates software functions or features based on requirements specifications. It involves testing correct and incorrect inputs to check expected behaviors and outputs. There are different types of functional testing including unit testing, integration testing, system testing, and acceptance testing. Testers write test cases based on requirements and specifications to test the functionality of software under different conditions.

functional testingmanual testing
 Testing helps us to measure the quality of software in terms of number of
defects found, the tests run and the system covered by the tests.
 Testing can give confidence in the quality of software if it finds few or no
defects, provided we are happy that the testing is sufficiently rigorous.
 A poor test may uncover few defects and may leave us with a false sense of
security.
 A well designed test will uncover defects if they are present and so, if such
a test passes we will rightly be more confident in the software and be able
to assert that the overall level of risk to use the system has been reduced.
 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
verification and validation.
◦ As well as wanting the right software system built correctly, the customer wants
the project to be within budget and timescale.
◦ It is important that the project team, the customers and any other stakeholders set
and agree expectations.
◦ We need to understand what the customers understand by quality and what their
expectations are.
◦ What we as software developers see as quality- that the software meets its
defined software specifications, is technically excellent and has few bugs in it-
may not provide a quality solution to the customer.
◦ Furthermore if our customers feel that they have spent more money than they
wanted or that the software does not help them carry out their tasks, they wont
be impressed by the technical excellence of the solution.
 WHAT IS ROOT CAUSE ANALYSIS?
◦ When we detect failures, we might try to track them back to their root cause, the
real reason that they happened.
◦ There are several ways of carrying out root cause analysis, often involving a
group brainstorming ideas and discussing them.
◦ Understanding the root causes of defects is an important aspect of quality
assurance activities, and testing contributes by helping us to identify defects as
early as possible before the software is in use.
◦ As testers, we are also interested in looking at defects found in other projects, so
that we can improve our processes.
 HOW MUCH TESTING IS ENOUGH?
◦ We have a choice: test everything, test nothing or test some of the software.
◦ The immediate response would be ‘Everything must be tested’ because we don’t
want to use software that is not tested completely.
◦ This implies that we must test all aspects of a software system.
◦ What we must consider is that whether we must or even can test completely.
◦ Pressures on a project include time and budget as well as pressure to deliver a
technical solution that meets the customers' needs.
◦ Customers and project managers will want to spend an amount on testing that
provides a return on investment for them.
◦ This return on investment includes preventing failures after release that are
costly.
◦ Testing completely - even if that is what customers and project managers ask for
- is simply not what they can afford.
◦ Instead we need a test approach which provides the right amount of testing for
this project, these customers (and other stakeholders) and this software.
◦ We do this by aligning the testing we do with the risks for the customers, the
stakeholders, the project and the software.
 THE DRIVING TEST – AN ANALOGY FOR SOFTWARE TESTING
 In a driving test, the examiner critically assesses the candidate's driving,
noting every mistake, large or small, made by the driver under test.
 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.
 The examiner bases the judgment on the number and severity of the
failures identified, and also whether the driver has been able to meet the
driving requirements.
 A single severe fault is enough to fail the whole test, but a small number of
minor faults might still mean the test is passed.
 Many minor faults would reduce the confidence of the examiner in the
quality —of the driving to the point where the driver cannot pass.

Recommended for you

Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts

The document provides an overview of software testing techniques and strategies. It discusses unit testing, integration testing, validation testing, system testing, and debugging. The key points covered include: - Unit testing involves testing individual software modules or components in isolation from the rest of the system. This includes testing module interfaces, data structures, boundary conditions, and error handling paths. - Integration testing combines software components into clusters or builds to test their interactions before full system integration. Approaches include top-down and bottom-up integration. - Validation testing verifies that the software meets the intended requirements and customer expectations defined in validation criteria. - System testing evaluates the fully integrated software system, including recovery, security, stress,

V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing

The V-model is a software development lifecycle model where each phase of the development process is validated by an equivalent phase of testing. It emphasizes testing at each development stage. In the V-model, testing begins during the requirements analysis phase, and each subsequent development phase is tested before moving further down the V, and development and testing phases occur in parallel. The benefits of the V-model include preventing faults, avoiding downward flow of defects, lower rework costs, improved quality and risk management.

software testingtesting
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx

In this presentation you will know about the white box testing and black box testing and their types. In this presentation these topics are covered :white box testing, black box testing, advantages of white box testing and disadvantages of white box testing, advantages of black box testing and disadvantages of white box testing, statement coverage technique, branch coverage technique, non functional testing, functional testing, Regression testing, and differences between the white box testing and black box testing.

white box testingblack box testingadvantage
 The definition is broken 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 processes.
 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 – Testing as a process 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.
◦ Both static and dynamic -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 executing 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
conditions 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 design and requirement specifications, and we test related documents such as
operation, user and training material.
 The second part of the definition covers 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
 The driving examiner becomes the software tester. The driver being
examined becomes the system or software under test.
 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
representative 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 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
tests.
 Determine that they satisfy specified requirements – The examiner and the
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 attributes
required to pass the test.
 Detect defects – The examiner and tester both look for and log faults.

Recommended for you

How To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | EdurekaHow To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | Edureka

YouTube Link: https://youtu.be/KxelISpFqOY (** Test Automation Masters Program: https://www.edureka.co/masters-progra... **) This Edureka PPT on "Test Case in Software Testing" will give you in-depth knowledge on how to write a Test Case in Software Testing. The following are the topics covered in the session: Software Testing Documentation Test Case in Software Testing Test Case Format Test Case Design Technique Test Case Guidelines Demo: How to write a test case? Selenium playlist: https://goo.gl/NmuzXE Selenium Blog playlist: http://bit.ly/2B7C3QR Software Testing Blog playlist: http://bit.ly/2UXwdJm Follow us to never miss an update in the future. YouTube: https://www.youtube.com/user/edurekaIN Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka

test casetest case in software testingtest case template
Testing
TestingTesting
Testing

The document discusses various techniques for software testing including whitebox testing, blackbox testing, unit testing, integration testing, validation testing, and system testing. It provides details on techniques like equivalence partitioning, boundary value analysis, orthogonal array testing, and graph matrices. The objective of testing is to systematically uncover errors in a minimum amount of time and effort. Testing should begin with unit testing and progress towards integration and system-level testing.

Software testing
Software testingSoftware testing
Software testing

The document discusses software testing practices and processes. It covers topics like unit testing, integration testing, validation testing, and different testing levels. Good testing practices include writing test cases for valid and invalid inputs, thoroughly inspecting test results, and assigning experienced people to testing. The testing process involves test planning, test case development, test execution, and reporting results in test reports.

 We can use both static and dynamic testing as means for achieving similar
test objectives. Both provide information to improve both the system to be
tested , and the development and testing processes.
 Testing often includes the following goals and objectives:
◦ Finding defects
◦ Gaining confidence in and providing information about the level of quality
◦ Preventing defects
 Many types of review and testing activities take place at different stages in
the life cycle. These have different objectives.
 Early testing- such as early test design and review activities – finds defects
early on when they are cheap to find and fix.
 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.
 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.
 We may continue to test the system once it is in operational use. In this
case, the main objective may be to assess the system characteristics such
as reliability or availability.
 Reviewing defects and failures in order to improve processes allows us to
improve our testing and our requirements, design and development
processes.
 One phenomenon that many testers have observed is that defects tend to
cluster.
 Testers will often use this information when making their risk assessment
for planning the tests, and will focus on known hot spots.
 A main focus of reviews and other static tests is to carry out testing as early
as possible, finding and fixing defects more cheaply, and preventing
defects from appearing at later stages of the project.
 These activities help us find out about defects earlier and identify potential
clusters.
 Additionally, an important outcome of all testing is information that assists
in risk assessment; these reviews will contribute to the planning for the
tests executed later in the software development life cycle.
 Over time, as we improve our whole software development life cycle and
the early static testing, we may well find that dynamic test levels find fewer
defects.
 As the hot spots for bugs get cleaned up we need to move our focus
elsewhere, to the next set of risks.
 Over time, our focus may change from finding coding bugs, to looking at
the requirements and design documents for defects, and to looking for
process improvements so that we prevent defects in the product.

Recommended for you

Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing

This document discusses various types of software testing techniques used in the software development lifecycle (SDLC). It begins by describing different SDLC models like waterfall, prototyping, RAD, spiral and V-models. It then discusses the importance of testing at different stages of SDLC and different types of testing like static vs dynamic, black box vs white box, unit vs integration etc. The rest of the document elaborates on specific black box and white box testing techniques like equivalence partitioning, boundary value analysis, cause-effect graphing, statement coverage and basis path testing.

Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle

Now to answer, “What is Testing?” we can go by the famous definition of Myers, which says, “Testing is the process of executing a program with the intent of finding errors”

Software testing
Software testingSoftware testing
Software testing

The objective of software testing is to find greatest possible number of errors with a manageable amount of effort applied over a realistic time span

mean time to recoverydebugging processstatic testing
 When a test finds a defect that must be fixed, a programmer must do some
work to locate the defect in the code and make the fix.
 In this process called debugging, a programmer will examine the code for
the immediate cause of the problem, repair the code and check that the
code now executes as expected.
 The fix is often then tested separately to confirm the fix.
 This principle arises from the theory of the process of scientific
experimentation and has been adopted by testers.
 It says, however many white swans we see, we cannot say ‘All swans are
white’. However, as soon as we see one black swan we can say ‘Not all
swans are white’.
 In the same way, however many tests we execute without finding a bug, we
have not shown ‘There are no bugs’. As soon as we find a bug, we have
shown ‘This code is not bug-free’.
 Testing shows presence of defects
 Exhaustive testing is impossible
 Early testing
 Defect clustering
 Pesticide paradox
◦ If the same tests are repeated over and over again, eventually the same set of test
cases will no longer find any new bugs. To overcome this 'pesticide paradox', the
test cases need to be regularly reviewed and revised, and new and different tests
need to be written to exercise different parts of the software or system to
potentially find more defects.
 Testing is context dependent
◦ Testing is done differently in different contexts. For eg., safety – critical
software is tested differently from an e-commerce site.
 Absence of errors fallacy
◦ Finding and fixing defects does not help if the system built is unusable and does
not fulfill the users’ needs and expectations.
 The activities in the fundamental test process are divided into the following
basic steps:
◦ Planning and Control;
◦ Analysis and Design;
◦ Implementation and Execution;
◦ Evaluating exit criteria and Reporting;
◦ Test closure activities.

Recommended for you

Prototype Model
Prototype ModelPrototype Model
Prototype Model

Learn about Propotype Model and how to use it. This was made during our 3rd Year in Eastern Visayas State University - Main Campus, Tacloban City, Leyte Created by: Acejo, Rhealyn Udtohan, Noemi

when to use prototype modeladvantages and disadvantages of prototype modelsteps in the prototyping model
What is Regression Testing? | Edureka
What is Regression Testing? | EdurekaWhat is Regression Testing? | Edureka
What is Regression Testing? | Edureka

The document discusses regression testing, including its definition, benefits, when it should be applied, types, techniques, challenges and best practices. Regression testing involves re-running all tests to ensure new code changes have not introduced new bugs or caused existing bugs to reappear. It helps find bugs early, increases chances of detecting bugs, ensures correctness and that fixed issues do not occur again.

what is regression testingregression testingtypes of regression testing
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

the initial material to find out what it is the application of the information system before it is applied to the user

 Test planning has the following major tasks, which help us build a test
plan:
◦ Determine the scope and risks and identify the objectives of testing.
◦ Determine the test approach.
◦ Implement the test policy and/or the test strategy
◦ Determine the required test resources
◦ Schedule test analysis and design tasks, test implementation , execution and
evaluation.
◦ Determine the exit criteria. This will show us which tasks and checks we must
complete for a particular level of testing before we can say that testing is
finished.
 Management of any activity does not stop with planning it. We need to
control and measure progress against the plan. So test control is an
ongoing activity.
 Test control has the following major tasks:
◦ Measure and analyze the results of reviews and testing.
◦ Monitor and document progress test coverage and exit criteria
◦ Provide information on testing.
 Initiate corrective actions: For example, tighten exit criteria for defects
fixed, ask for more effort to be put into debugging or prioritize defects for
fixing test blockers.
 Make decisions: Based on the measures and information gathered during
testing and any changes to business and project risks or our increased
understanding of technical and product risks, we'll make decisions or
enable others to make decisions: to continue testing, to stop testing, to
release the software or to retain it for further work for example.
 During test analysis and design, we take general testing objectives
identified during planning and build test designs and test procedures.
 Test analysis and design has the following major tasks:
◦ Review the test basis (such as the product risk analysis, requirements,
architecture, design specifications, and interfaces), examining the specifications
for the software we are testing. We use the test basis to help us build our tests.
◦ Identify test conditions based on analysis of test items, their specifications, and
what we know about their behavior and structure.
◦ Design the tests, using techniques to help select representative tests that relate to
particular aspects of the software which carry risks or which are of particular
interest, based on the test conditions and going into more detail.
◦ Evaluate testability of the requirements and system. The requirements may be
written in a way that allows a tester to design tests.
◦ Design the test environment set-up and identify any required infrastructure and
tools.
 During test implementation and execution, we take the test conditions and
make them into test cases and set up the test environment.
 Test implementation and execution has the following major tasks:
 IMPLEMENTATION
◦ Develop and prioritize our test cases, and create test data for those tests. We will
also write instructions for tests.
◦ Create test suites from the test cases for efficient test execution. A test suite is a
logical collection of test cases which naturally work together. We’ll also set up a
test execution schedule.
◦ Implement and verify the environment. We make sure that the test environment
has been set up correctly, possibly even running specific tests on it.
 EXECUTION
◦ Execute the test suites and individual test cases, following our test procedures.
◦ Log the outcome of test execution and record the identities and versions of the
software under test, test tools and testware.
◦ Compare actual results (what happened when we ran the tests) with expected
results (what we anticipated would happen).

Recommended for you

01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing

This document provides an overview of fundamentals of software testing. It discusses why testing is needed due to human errors in development that can introduce defects. It defines software testing as evaluating a system or component against requirements or to identify defects. The document outlines the typical test process, including planning, analysis, implementation, execution and reporting. It also discusses testing principles such as how testing can find defects but not prove their absence and how test cases need regular revision to avoid becoming outdated.

FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1

resume graham (2006) book FUNDAMENTALS OF TESTING resume of Graham et al Foundationf of Software Testing (2006) created by Fadhilla Elita information system class

Bab 1
Bab 1Bab 1
Bab 1

This document provides an introduction to software testing fundamentals. It discusses why testing is important to find defects, how testing promotes quality, and how testing fits into quality assurance. It defines key terms like bug, defect, error, failure, fault, and explains causes of software defects. It discusses when defects arise and the costs of defects. It also covers the role of testing in software development and maintenance, how testing relates to quality, and challenges around determining how much testing is needed. Finally, it discusses using defect data to plan tests and how testing aims to improve quality but can never prove a system is completely defect-free.

bab 1
◦ Where there are differences between actual and expected results, report
discrepancies as incidents.
◦ Repeat test activities as a result of action taken for each discrepancy. We need to
re-execute tests that previously failed in order to confirm a fix.
 Evaluating exit criteria is the activity where test execution is assessed
against the defined objectives. This should be done for each test level, as
for each we need to know whether we have done enough testing.
 Evaluating exit criteria has the following major tasks:
◦ Check test logs against the exit criteria specified in test planning: We look to see
what evidence we have for which tests have been executed and checked, and
what defects have been raised, fixed, confirmation tested, or are outstanding.
◦ Assess if more tests are needed or if the exit criteria specified should be
changed.
◦ Write a test summary report for stakeholders: It is not enough that the testers
know the outcome of the test. All the stakeholders need to know what testing has
been done and the outcome of the testing, in order to make informed decisions
about the software.
 During test closure activities, we collect data from completed test activities
to consolidate experience, including checking and filing testware, and
analyzing facts and numbers.
 Test closure activities include the following major tasks:
◦ Check which planned deliverables we actually delivered and ensure all incident
reports have been resolved through defect repair or deferral.
◦ Finalize and archive testware, such as scripts, the test environment, and any
other test infrastructure, for later reuse.
◦ Hand over testware to the maintenance organization who will support the
software and make any bug fixes or maintenance changes, for use in
confirmation testing and regression testing.
◦ Evaluate how the testing went and analyze lessons learned for future releases
and projects.
 Independent Testing- Who is a tester?
 The mindset we want to use while testing and reviewing is different from
the one we use while analyzing or developing.
 By this we mean that, if we are building something we are working
positively to solve problems in the design and to realize a product that
meets some need.
 However, when we test or review a product, we are looking for defects in
the product and thus are critical of it.
 We do not mean that a tester cannot be a programmer, or that a programmer
cannot be a tester, although they often are separate roles.
 In fact, programmers are testers - they test the components which they
build, and the integration of the components into the system.
 With the right mindset, programmers can test their own code; indeed
programmers do test their own code and find many problems, resolving
them before anyone else sees the code.

Recommended for you

Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing

Fundamentals of testing http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/ http://www.uin-suska.ac.id/

fundamentalstesting
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing

This document provides an introduction to fundamentals of testing. It discusses why testing is necessary, explaining that human errors can introduce defects at any stage of development that may later cause failures. Testing helps reduce risks by finding defects, especially early ones which are cheaper to fix. The document also distinguishes between defects, failures, and their causes/effects. It notes testing is part of quality assurance and helps improve quality by providing confidence if few defects are found through rigorous testing.

fundamentalstesting
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing

In this chapter, we will introduce you to the fundamentals of testing: why testing is needed; its limitations, objectives and purpose; the principles behind testing; the process that testers follow; and some of the psychological factors that testers must consider in their work. By reading this chapter you'll gain an understanding of the fundamentals of testing and be able to describe those fundamentals.

http://sif.uin-suska.ac.id/ http://fst.uin-suska.a
 However, we all know it is difficult to find our own mistakes.
 So programmers often rely on others to help test their work. This other
person might be a fellow analyst, designer or developer. A person who will
use the software may help test it.
 Testing specialists - professional testers – are often involved. In fact,
testing may involve a succession of people each carrying out a different
level of testing. This allows an independent test of the system.
 Several levels of independence can be identified, listed here from the
lowest level of independence to the highest:
◦ tests by the person who wrote the item under test;
◦ tests by another person within the same team, such as another programmer;
◦ tests by a person from a different organizational group, such as a independent
test team;
◦ tests designed by a person from a different-organization or company, such as
outsourced testing or certification by an external body.

More Related Content

What's hot

Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking
Vadym Muliavka
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f2740
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of Testing
Code95
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
Edureka!
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
Chankey Pathak
 
An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)
Usersnap
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
Udayakumar Sree
 
functional testing
functional testing functional testing
functional testing
bharathanche
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing
Abdul Raheem
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
AshutoshKumar899318
 
How To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | EdurekaHow To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | Edureka
Edureka!
 
Testing
TestingTesting
Software testing
Software testingSoftware testing
Software testing
suneeth kumar
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
Nishant Worah
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software testing
Software testingSoftware testing
Prototype Model
Prototype ModelPrototype Model
Prototype Model
RhealynAcejo
 
What is Regression Testing? | Edureka
What is Regression Testing? | EdurekaWhat is Regression Testing? | Edureka
What is Regression Testing? | Edureka
Edureka!
 

What's hot (20)

Bug reporting and tracking
Bug reporting and trackingBug reporting and tracking
Bug reporting and tracking
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Fundamentals of Testing
Fundamentals of TestingFundamentals of Testing
Fundamentals of Testing
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
functional testing
functional testing functional testing
functional testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing
 
WHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptxWHITE BOX TESTING ashu.pptx
WHITE BOX TESTING ashu.pptx
 
How To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | EdurekaHow To Write A Test Case In Software Testing | Edureka
How To Write A Test Case In Software Testing | Edureka
 
Testing
TestingTesting
Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
Software testing
Software testingSoftware testing
Software testing
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
 
What is Regression Testing? | Edureka
What is Regression Testing? | EdurekaWhat is Regression Testing? | Edureka
What is Regression Testing? | Edureka
 

Similar to Fundamentals of testing (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
devinta sari
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1
fadhilla elita
 
Bab 1
Bab 1Bab 1
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
argawanda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
argawanda
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
fajarayuningrum
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
Bobi Henfajri Setiawan
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Muhammad Khairil
 
ISTQB Chapter 1 Fundamentals of Testing
ISTQB Chapter 1  Fundamentals of TestingISTQB Chapter 1  Fundamentals of Testing
ISTQB Chapter 1 Fundamentals of Testing
ssuser2d9936
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
rajkamalv
 
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
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
Zetryan Satria
 
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
 
EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEW
Journal For Research
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 fundamentals of testing
Ilham Wahyudi
 
fundamentals of testing
fundamentals of testingfundamentals of testing
fundamentals of testing
aidil fitra
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Taufik hidayat
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1
Sinthia Gusfah
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Yusran5
 

Similar to Fundamentals of testing (1) (20)

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
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1FADHILLA ELITA Ppt Chapter 1
FADHILLA ELITA Ppt Chapter 1
 
Bab 1
Bab 1Bab 1
Bab 1
 
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
 
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
 
ISTQB Chapter 1 Fundamentals of Testing
ISTQB Chapter 1  Fundamentals of TestingISTQB Chapter 1  Fundamentals of Testing
ISTQB Chapter 1 Fundamentals of Testing
 
ISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptxISTQBCH1 Manual Testing.pptx
ISTQBCH1 Manual Testing.pptx
 
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))
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
 
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
 
EFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEWEFFECTIVE TEST CASE DESING: A REVIEW
EFFECTIVE TEST CASE DESING: A REVIEW
 
01 fundamentals of testing
01 fundamentals of testing01 fundamentals of testing
01 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
 
Testing implementasi 1
Testing implementasi 1Testing implementasi 1
Testing implementasi 1
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 

Recently uploaded

What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 

Recently uploaded (20)

What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 

Fundamentals of testing (1)

  • 1. Presentation on Unit I By Prof. R. S. Patwardhan
  • 2.  When we are testing something we are checking whether it is OK.  Testing is necessary because we all make mistakes.  Some of those mistakes are unimportant, but some of them are expensive  or dangerous.  Because we should assume our work contains mistakes, we all need to check our own work.  However, some mistakes come from bad assumptions and blind spots, so we might make the same mistakes when we check our own work as we made when we did it.  So we should get someone else to check our work.
  • 3.  Nowadays almost everyone is aware of softwares.  We encounter them in our homes, at work, while shopping etc.  However, most people have had an experience with software that did not work as expected.  Not all software systems carry the same level of risk and not all problems have the same impact when they occur.  A risk is something that has not happened yet and it may never happen; it is a potential problem.  We are concerned about these potential problems because, if one of them did happen, we'd feel a negative impact.  When we discuss risks, we need to consider how likely it is that the problem would occur and the impact if it happens.  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. It may be trivial, but it could have a significant effect, depending on the website and the defect.
  • 4.  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.  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.
  • 5.  DO OUR MISTAKES MATTER? ◦ Any human being, programmers and testers included, can make an error. ◦ These errors may produce defects in the software code or system, or in a document. ◦ If a defect in code is executed, the system may experience a failure. ◦ So the mistakes we make matter partly because they have consequences for the products for which we are responsible. ◦ Defects in software, systems or documents may result in failures, but not all defects do cause failures. ◦ It is not just defects that give rise to failure. ◦ Failures can also be caused by environmental conditions as well: for example, a radiation burst, a strong magnetic field, electronic fields, or pollution could cause faults in hardware or firmware. ◦ Failures may also arise because of human error in interacting with the software, perhaps a wrong input value being entered or an output being misinterpreted. ◦ Finally, failures may also be caused by someone deliberately trying to cause a failure in a system - malicious damage.
  • 6.  WHEN DO DEFECTS ARISE?
  • 7.  WHAT IS THE COST OF DEFECTS?
  • 8.  Rigorous testing is necessary during development and maintenance to identify defects, in 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 help us move towards improved quality of product and service, but that is just one of the verification and validation methods applied to the 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.  We may also be required to carry out software testing to meet contractual or legal requirements, or industry specific standards.  These standards specify what kind of techniques we must use, or the percentage of software code that must be exercised.
  • 9.  Testing helps us to measure the quality of software in terms of number of defects found, the tests run and the system covered by the tests.  Testing can give confidence in the quality of software if it finds few or no defects, provided we are happy that the testing is sufficiently rigorous.  A poor test may uncover few defects and may leave us with a false sense of security.  A well designed test will uncover defects if they are present and so, if such a test passes we will rightly be more confident in the software and be able to assert that the overall level of risk to use the system has been reduced.  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 verification and validation.
  • 10. ◦ As well as wanting the right software system built correctly, the customer wants the project to be within budget and timescale. ◦ It is important that the project team, the customers and any other stakeholders set and agree expectations. ◦ We need to understand what the customers understand by quality and what their expectations are. ◦ What we as software developers see as quality- that the software meets its defined software specifications, is technically excellent and has few bugs in it- may not provide a quality solution to the customer. ◦ Furthermore if our customers feel that they have spent more money than they wanted or that the software does not help them carry out their tasks, they wont be impressed by the technical excellence of the solution.  WHAT IS ROOT CAUSE ANALYSIS? ◦ When we detect failures, we might try to track them back to their root cause, the real reason that they happened. ◦ There are several ways of carrying out root cause analysis, often involving a group brainstorming ideas and discussing them.
  • 11. ◦ Understanding the root causes of defects is an important aspect of quality assurance activities, and testing contributes by helping us to identify defects as early as possible before the software is in use. ◦ As testers, we are also interested in looking at defects found in other projects, so that we can improve our processes.  HOW MUCH TESTING IS ENOUGH? ◦ We have a choice: test everything, test nothing or test some of the software. ◦ The immediate response would be ‘Everything must be tested’ because we don’t want to use software that is not tested completely. ◦ This implies that we must test all aspects of a software system. ◦ What we must consider is that whether we must or even can test completely. ◦ Pressures on a project include time and budget as well as pressure to deliver a technical solution that meets the customers' needs. ◦ Customers and project managers will want to spend an amount on testing that provides a return on investment for them. ◦ This return on investment includes preventing failures after release that are costly. ◦ Testing completely - even if that is what customers and project managers ask for - is simply not what they can afford. ◦ Instead we need a test approach which provides the right amount of testing for this project, these customers (and other stakeholders) and this software. ◦ We do this by aligning the testing we do with the risks for the customers, the stakeholders, the project and the software.
  • 12.  THE DRIVING TEST – AN ANALOGY FOR SOFTWARE TESTING  In a driving test, the examiner critically assesses the candidate's driving, noting every mistake, large or small, made by the driver under test.  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.  The examiner bases the judgment on the number and severity of the failures identified, and also whether the driver has been able to meet the driving requirements.  A single severe fault is enough to fail the whole test, but a small number of minor faults might still mean the test is passed.  Many minor faults would reduce the confidence of the examiner in the quality —of the driving to the point where the driver cannot pass.
  • 13.  The definition is broken 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 processes.  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 – Testing as a process 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. ◦ Both static and dynamic -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 executing 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.
  • 14. ◦ Preparation – We need to choose what testing we’ll do, by selecting test conditions 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 design and requirement specifications, and we test related documents such as operation, user and training material.  The second part of the definition covers 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
  • 15.  The driving examiner becomes the software tester. The driver being examined becomes the system or software under test.  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 representative 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 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 tests.  Determine that they satisfy specified requirements – The examiner and the tester both check against requirements to carry out particular tasks successfully.
  • 16.  Demonstrate that they are fit for purpose – The examiner and the tester are not evaluating for perfection but for meeting sufficient attributes required to pass the test.  Detect defects – The examiner and tester both look for and log faults.
  • 17.  We can use both static and dynamic testing as means for achieving similar test objectives. Both provide information to improve both the system to be tested , and the development and testing processes.  Testing often includes the following goals and objectives: ◦ Finding defects ◦ Gaining confidence in and providing information about the level of quality ◦ Preventing defects  Many types of review and testing activities take place at different stages in the life cycle. These have different objectives.  Early testing- such as early test design and review activities – finds defects early on when they are cheap to find and fix.  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.
  • 18.  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.  We may continue to test the system once it is in operational use. In this case, the main objective may be to assess the system characteristics such as reliability or availability.
  • 19.  Reviewing defects and failures in order to improve processes allows us to improve our testing and our requirements, design and development processes.  One phenomenon that many testers have observed is that defects tend to cluster.  Testers will often use this information when making their risk assessment for planning the tests, and will focus on known hot spots.  A main focus of reviews and other static tests is to carry out testing as early as possible, finding and fixing defects more cheaply, and preventing defects from appearing at later stages of the project.  These activities help us find out about defects earlier and identify potential clusters.  Additionally, an important outcome of all testing is information that assists in risk assessment; these reviews will contribute to the planning for the tests executed later in the software development life cycle.
  • 20.  Over time, as we improve our whole software development life cycle and the early static testing, we may well find that dynamic test levels find fewer defects.  As the hot spots for bugs get cleaned up we need to move our focus elsewhere, to the next set of risks.  Over time, our focus may change from finding coding bugs, to looking at the requirements and design documents for defects, and to looking for process improvements so that we prevent defects in the product.
  • 21.  When a test finds a defect that must be fixed, a programmer must do some work to locate the defect in the code and make the fix.  In this process called debugging, a programmer will examine the code for the immediate cause of the problem, repair the code and check that the code now executes as expected.  The fix is often then tested separately to confirm the fix.
  • 22.  This principle arises from the theory of the process of scientific experimentation and has been adopted by testers.  It says, however many white swans we see, we cannot say ‘All swans are white’. However, as soon as we see one black swan we can say ‘Not all swans are white’.  In the same way, however many tests we execute without finding a bug, we have not shown ‘There are no bugs’. As soon as we find a bug, we have shown ‘This code is not bug-free’.
  • 23.  Testing shows presence of defects  Exhaustive testing is impossible  Early testing  Defect clustering  Pesticide paradox ◦ If the same tests are repeated over and over again, eventually the same set of test cases will no longer find any new bugs. To overcome this 'pesticide paradox', the test cases need to be regularly reviewed and revised, and new and different tests need to be written to exercise different parts of the software or system to potentially find more defects.  Testing is context dependent ◦ Testing is done differently in different contexts. For eg., safety – critical software is tested differently from an e-commerce site.  Absence of errors fallacy ◦ Finding and fixing defects does not help if the system built is unusable and does not fulfill the users’ needs and expectations.
  • 24.  The activities in the fundamental test process are divided into the following basic steps: ◦ Planning and Control; ◦ Analysis and Design; ◦ Implementation and Execution; ◦ Evaluating exit criteria and Reporting; ◦ Test closure activities.
  • 25.  Test planning has the following major tasks, which help us build a test plan: ◦ Determine the scope and risks and identify the objectives of testing. ◦ Determine the test approach. ◦ Implement the test policy and/or the test strategy ◦ Determine the required test resources ◦ Schedule test analysis and design tasks, test implementation , execution and evaluation. ◦ Determine the exit criteria. This will show us which tasks and checks we must complete for a particular level of testing before we can say that testing is finished.  Management of any activity does not stop with planning it. We need to control and measure progress against the plan. So test control is an ongoing activity.  Test control has the following major tasks: ◦ Measure and analyze the results of reviews and testing. ◦ Monitor and document progress test coverage and exit criteria ◦ Provide information on testing.
  • 26.  Initiate corrective actions: For example, tighten exit criteria for defects fixed, ask for more effort to be put into debugging or prioritize defects for fixing test blockers.  Make decisions: Based on the measures and information gathered during testing and any changes to business and project risks or our increased understanding of technical and product risks, we'll make decisions or enable others to make decisions: to continue testing, to stop testing, to release the software or to retain it for further work for example.
  • 27.  During test analysis and design, we take general testing objectives identified during planning and build test designs and test procedures.  Test analysis and design has the following major tasks: ◦ Review the test basis (such as the product risk analysis, requirements, architecture, design specifications, and interfaces), examining the specifications for the software we are testing. We use the test basis to help us build our tests. ◦ Identify test conditions based on analysis of test items, their specifications, and what we know about their behavior and structure. ◦ Design the tests, using techniques to help select representative tests that relate to particular aspects of the software which carry risks or which are of particular interest, based on the test conditions and going into more detail. ◦ Evaluate testability of the requirements and system. The requirements may be written in a way that allows a tester to design tests. ◦ Design the test environment set-up and identify any required infrastructure and tools.
  • 28.  During test implementation and execution, we take the test conditions and make them into test cases and set up the test environment.  Test implementation and execution has the following major tasks:  IMPLEMENTATION ◦ Develop and prioritize our test cases, and create test data for those tests. We will also write instructions for tests. ◦ Create test suites from the test cases for efficient test execution. A test suite is a logical collection of test cases which naturally work together. We’ll also set up a test execution schedule. ◦ Implement and verify the environment. We make sure that the test environment has been set up correctly, possibly even running specific tests on it.  EXECUTION ◦ Execute the test suites and individual test cases, following our test procedures. ◦ Log the outcome of test execution and record the identities and versions of the software under test, test tools and testware. ◦ Compare actual results (what happened when we ran the tests) with expected results (what we anticipated would happen).
  • 29. ◦ Where there are differences between actual and expected results, report discrepancies as incidents. ◦ Repeat test activities as a result of action taken for each discrepancy. We need to re-execute tests that previously failed in order to confirm a fix.
  • 30.  Evaluating exit criteria is the activity where test execution is assessed against the defined objectives. This should be done for each test level, as for each we need to know whether we have done enough testing.  Evaluating exit criteria has the following major tasks: ◦ Check test logs against the exit criteria specified in test planning: We look to see what evidence we have for which tests have been executed and checked, and what defects have been raised, fixed, confirmation tested, or are outstanding. ◦ Assess if more tests are needed or if the exit criteria specified should be changed. ◦ Write a test summary report for stakeholders: It is not enough that the testers know the outcome of the test. All the stakeholders need to know what testing has been done and the outcome of the testing, in order to make informed decisions about the software.
  • 31.  During test closure activities, we collect data from completed test activities to consolidate experience, including checking and filing testware, and analyzing facts and numbers.  Test closure activities include the following major tasks: ◦ Check which planned deliverables we actually delivered and ensure all incident reports have been resolved through defect repair or deferral. ◦ Finalize and archive testware, such as scripts, the test environment, and any other test infrastructure, for later reuse. ◦ Hand over testware to the maintenance organization who will support the software and make any bug fixes or maintenance changes, for use in confirmation testing and regression testing. ◦ Evaluate how the testing went and analyze lessons learned for future releases and projects.
  • 32.  Independent Testing- Who is a tester?  The mindset we want to use while testing and reviewing is different from the one we use while analyzing or developing.  By this we mean that, if we are building something we are working positively to solve problems in the design and to realize a product that meets some need.  However, when we test or review a product, we are looking for defects in the product and thus are critical of it.  We do not mean that a tester cannot be a programmer, or that a programmer cannot be a tester, although they often are separate roles.  In fact, programmers are testers - they test the components which they build, and the integration of the components into the system.  With the right mindset, programmers can test their own code; indeed programmers do test their own code and find many problems, resolving them before anyone else sees the code.
  • 33.  However, we all know it is difficult to find our own mistakes.  So programmers often rely on others to help test their work. This other person might be a fellow analyst, designer or developer. A person who will use the software may help test it.  Testing specialists - professional testers – are often involved. In fact, testing may involve a succession of people each carrying out a different level of testing. This allows an independent test of the system.  Several levels of independence can be identified, listed here from the lowest level of independence to the highest: ◦ tests by the person who wrote the item under test; ◦ tests by another person within the same team, such as another programmer; ◦ tests by a person from a different organizational group, such as a independent test team; ◦ tests designed by a person from a different-organization or company, such as outsourced testing or certification by an external body.