Software Testing Chapter-1
Software Testing Chapter-1
SOFTWARE TESTING
INTRODUCTION
Non-function
requirement
User/
Acceptance Artifacts
technical
criteria
stories
a. User Technical issues/stories: A non-
functional requirement can be captured
using user experience or technical
feedback.
b. Acceptance criteria: Acceptance
criteria is the point that is defined for
accepting the product by the customer.
C. In Artifacts: A separate artifact should
be prepared for the non-functional
requirements, this, in turn, would help to
have a better idea of what needs to be
tested and how it can be done in
iterations.
MAINTENANCE (REGRESSION
AND MAINTENANCE)
In software testing, there are
more than 100 types of testing
and this maintenance testing is
one of them. As a tester, we do
software testing during its pre-
release stage. We also perform
testing on the software after it is
released. Performing testing
after it is released is known as
TYPES OF MAINTENANCE TESTING
There are two types of maintenance testing:
i. Confirmation Testing: Testing the modified
functionality. It is to test the modified functionality.
During this part of maintenance testing as a tester, you
have to test all the modifications (either small or big)
made in the software thoroughly and make sure that
there are no functionality issues and downtime.
ii .Regression Testing: Testing the existing
functionality It is done after the confirmation
maintenance testing phase. It is to test the existing
functionality. As a tester, you have to test the complete
system to make sure the modified functionality
(maintenance work) should not affect the functionality
of the existing software which is known as regression
testing
TESTING STRATEGIES IN SOFTWARE
ENGINEERING
Unit Testing: This software testing approach is used by
the programmer to test the unit of the program. It helps
developers to know whether the individual unit of the code
is working properly.
Integration Testing: It focuses on the building and
design of the software. You need to see that the integrated
units are working without any errors.
System Testing: In this method, your software is
compiled as a whole and then tested as a whole. This
testing strategy checks the functionality, security,
portability amongst others.
Program Testing: It is a method of executing an actual
software program with the aim of testing program
behavior and finding errors. The software program is
executed with test case data to analyze the program
behavior or response to the test data. A good program
FAULT, ERRORS AND FAILURES
An Error is the variance between the
actual output and the expected output.
A Failure is the inability of a system or
its components to perform the required
task according to its specification.
Defects any abnormal behaviour found
in the software.
Bugs developer accepts the defects.
PROFESSIONAL SOFTWARE
TESTING PRACTICES INCLUDE
i. Planning and design of testing from the
beginning of the software development life cycle.
ii. Acceptance test criteria defined by users at the
same time as user requirements are being noted
or defined.
iii. System tests identified during requirement
analysis.
iv. Unit test cases identified during detailed
design.
v. Execution of unit tests, integration tests,
system tests and acceptance tests.
vi. Evaluation of test effectiveness.
TESTING OBJECTIVES
Software testing is one of the most critical processes
performed during Software Development Life Cycle
(SDLC)
It is a combination of various activities that are
performed continuously. since the commencement of the
project. It helps to verify and validate that the software
meets the requirements and works as per expectations.
Testing allows testers to establish the quality and
performance of the software. In short, software testing
guarantees proper functioning of the software and
validates its security and stability.
The goals and objectives of software testing are
numerous, which when achieved help developers build a
defect less and error free software and application that
has very good performance, quality, effectiveness,
security, among other things.
THESE OBJECTIVES ARE