0% found this document useful (0 votes)
289 views

UNIT 4 SOFTWARE Testing

The document discusses different levels of software testing, including unit testing, integration testing, and system testing. Unit testing involves individually testing software components to check if they are fit for use. Integration testing integrates two or more tested modules to check for interface errors. System testing tests complete integrated software systems as a whole to ensure requirements are met. The levels of testing help assure software quality and identify errors.

Uploaded by

lalu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
289 views

UNIT 4 SOFTWARE Testing

The document discusses different levels of software testing, including unit testing, integration testing, and system testing. Unit testing involves individually testing software components to check if they are fit for use. Integration testing integrates two or more tested modules to check for interface errors. System testing tests complete integrated software systems as a whole to ensure requirements are met. The levels of testing help assure software quality and identify errors.

Uploaded by

lalu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Department of Computer Science

and Engineering

SYLLABUS
UNIT–IV
Software Testing Strategies-Approach: Issues,
Validation Testing and Their Criteria, System Testing,
Alpha-Beta Testing, Debugging, Testing

1
Conventional Applications, Testing Object Oriented
Applications ,Testing Web Applications.
SOFTWARE TESTING

Department of Computer Science
and Engineering
The aim of testing process is to identifies the defects existing in a software
product.
❖ It is important activity carried out in order to improve the quality of the
software.
❖ To find out the possible errors the testing must be conducted systematically &
test cases must be designed using disciplined techniques.
❖ Critical phase of software quality assurance & represent the review of
specifications ,design & coding.
2
❖ Lake of testing leads to waste time & money.
❖ Effective software testing means:
- Quality software products
-Meet user’s requirements
Department of Computer Science
SOFTWARE TESTING..........
and Engineering

❖ It is the process used to identify the correctness,completeness


and quality of developed computersoftware.
❖ It is the process of executing a program/application under
positive and negative conditions by manual or automated means.
❖ It checks for the :-
1. Specification
3 2. Functionality
3. Performance
Department of Computer Science
SOFTWARE TESTING :OBJECTIVES
and Engineering

➢ Uncover as many as errors (or bugs) as possible in a given product.


➢ Demonstrate a given software product matching its requirement
specifications.
➢ Validate the quality of a software testing using the minimum costand efforts.
➢ Generate high quality test cases, perform effective tests, and issuecorrect and
helpful problem reports.
4 ➢ A successful test is one that uncovers a yet undiscovered error.
➢ A good test case have a high probability of finding an undiscover error.
TERMS USED IN SOFTWARE TESTING
Department of Computer Science
and Engineering
➢ Error : It is a human action that produces the incorrect result that
produces a fault in a software.
➢ Bug : The presence of error at the time of execution of the software.
➢ Fault : State of software caused by an error.
➢ Failure : Deviation of the software from its expected result. It is an
event.
➢ SoftwareTester: Perform testing.
5 ➢ Test Plan:Systematic approach to perform testing
➢ Test Cases:Specific procedure to testing aparicular requirement.
Department of Computer Science
and Engineering Software Testing Principles
6

Testing: The execution of a program to find its faults

Verification: The process of proving the programs correctness.

Validation: The process of finding errors by executing the


program in a real environment

Debugging: Diagnosing the error and correct it

To remove as many defects as possible before test since the


quality improvement potential of testing is limited
Software Testing Principles..........
Department of Computer Science
and Engineering The requirements of customers should be traceable and identified
7
by all different tests.
Planning of tests that how tests will be conducted should be done
long before the beginning of the test.
The Pareto principle can be applied to software testing- 80% of
all errors identified during testing will likely be traceable to 20%
of all program modules.
Testing should begin “in the small” and progress toward testing
“in the large”.
Exhaustive testing which simply means to test all the possible
combinations of data is not possible.
Testing conducted should be most effective and for this purpose,
an independent third party is required.
BENEFITS OF SOFTWARE TESTING
Department of Computer Science
and Engineering➢ Cost-Effective: It is one of the important advantages of software testing.
Testing any IT project on time helps you to save your money for the long term.
In case if the bugs caught in the earlier stage of software testing, it costs less to
fix.
➢ Security: It is the most vulnerable and sensitive benefit of software testing.
People are looking for trusted products. It helps in removing risks and
problems earlier.
➢ Product quality: It is an essential requirement of any software product. Testing
8
ensures a quality product is delivered to customers.
➢ Customer Satisfaction: The main aim of any product is to give satisfaction to
their customers. UI/UX Testing ensures the best user experience.
Department of Computer Science
SOFTWARE TESTING PROCESS
and Engineering

➢ Planning & control: Test script is prepared


➢ Analysis & Design [Test Case]:Set of tests are analyzed &
created that are effective in testing.
➢ Implementation & execution of Test cases: Test cases are
executed in order to obtain test result.
➢ Evaluating exit criteria & reporting: All tests cases are
9
performed & errors are uncovered.
➢ Test closure Activity: Standard document for future work.
Department of Computer Science
and Engineering
TESTING PROCESS

10
Department of Computer Science
and Engineering

11
Department of Computer Science
LEVELS SOFTWARE TESTING
and Engineering

Software Testing is an activity performed to identify errors so that errors can


be removed to obtain a product with greater quality.
To assure and maintain the quality of software and to represents the ultimate
review of specification, design, and coding, Software testing is required.
There are different levels of testing :

12
Department of Computer Science
LEVELS SOFTWARE TESTING
and Engineering
Software Testing is an activity performed to identify errors so that errors can be
removed to obtain a product with greater quality.
To assure and maintain the quality of software and to represents the ultimate
review of specification, design, and coding, Software testing is required.
There are different levels of testing :

❖Unit Testing :
In this type of testing, errors are detected individually from every component or
13
unit by individually testing the components or units of software to ensure that if
they are fit for use by the developers. It is the smallest testable part of the
software.
Department of Computer Science
LEVELS SOFTWARE TESTING ......
and Engineering

❖ Integration Testing :
In this testing, two or more modules which are unit tested are integrated to test
i.e. technique interacting components and are then verified if these integrated
modules work as per the expectation or not and interface errors are also
detected.

❖ System Testing :
In system testing, complete and integrated Softwares are tested i.e. all the system
14
elements forming the system is tested as a whole to meet the requirements of
the system.
Department of Computer Science
LEVELS SOFTWARE TESTING......
and Engineering

❖ Acceptance Testing :It is a kind of testing conducted to ensure whether


the requirement of the users are fulfilled prior to its delivery and the software
works correctly in the user’s working environment.

✓ These testing can be conducted at various stages of software development.


✓ The levels of testing along with the corresponding software development
15 phase is shown by the following diagram –
Department of Computer Science
TESTING LEVELS
and Engineering

16
Department of Computer Science
and Engineering

17

You might also like