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

Software Testing

Uploaded by

aiswaryaep07
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Software Testing

Uploaded by

aiswaryaep07
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

SOFTWARE

TESTING
Software testing is evaluation of the software against requirements
gathered from users and system specifications.
• The process of software testing aims not only at finding faults in the existing
software but also at finding measures to improve the software in terms of
efficiency, accuracy and usability

• It mainly aims at measuring specification, functionality and performance of a


software program or application.

• Software testing comprises of validation and verification.


• Validation ensures the product under development is as per user requirements
• Validation emphasis on users requirements

Verification
Verification: it refers to the set of tasks that ensure that software correctly implements
a specific function.
• Verification ensures the product being developed is according to design specifications

• Verification concentrate on design and system specifications


Targets of tests are:
• Errors-these are actual coding mistakes made by developers

• Faults-when error exists fault occurs. A fault is also a bug , is a


result of an error which can cause system to fail.

• Failure- inability of a system to perform a task


Testing can be done manually or using automated testing tool .

• Manual—this testing is performed without taking help of


automated testing tools. The software tester test cases for
different sections and levels of the code, executes the tests
and reports the result to the manager
>> time and resource consuming
>> tester need to confirm whether or not right test cases are
used.
• Automated—this is a testing procedure done with aid of automated
testing tools
>> limitations with manual testing can be overcome using automated
test tools

Characteristics of software test:


• high probability of finding errors
• No redundancy
• Choose most appropriate test
• moderate
TEST PLAN:
• Test plan describes how testing would be accomplished

• It is a document that describes the objectives, scope , methods, ad purpose of


software testing.

• This plan identifies

--test items
--features to be tested
--testing tasks and the person involved in these tests
--identifies the test environment and the test design and measurement techniques
that are to be used
--
TEST PLAN COMPONENTS
Responsibilities :
Assumptions:
Test:
Communication
Risk analysis
Defect reporting
Environment
SOFTWARE TESTING STRATEGIES
• Software testing strategies can be considered as various levels of
testing that are performed to test the software.
• The first level starts with testing of individual units of software
• One individual units are tested they are integrated and checked for
interfaces established between them

There are four levels of testing


1. Unit testing
2. Integration testing
3. System testing
4. Acceptance testing
Unit testing:
It is performed to test the individual units of software
Since software is made up of number of units/modules , detecting error in
these units is
Simple and consumes less time .
It is not just performed once during the software development, rather it
is repeated whenever software is modified or used in new environment
• Each unit is tested in isolation from other part o a program
• The developers themselves perform unit testing
• It is used to verify the code produced during software coding and is
responsible for assessing the correctness of a particular unit of source
code.
OTHER FUNCTIONS OF UNIT TESTING:

• Test all control path to uncover maximum errors


• Ensures that all statements in the unit are executed at least once
• Tests data structure that represents relationships among individuals
data elements
• Ensures that the dats entered in variables are of same dats types as
defined in the units
INTEGRATION TESTING:

• Once unit testing is complete integration testing begins


• In this testing,the units validated during unit testing are combined to
form a sub system
• The purpose of this testing is to ensure that all the modules continue to
work in accordance with user/customer requirements even after
integration
• It ensures that all the modules work together properly
• Testing is performed with an intention to expose defects in the
interface and in the interaction between integrated components or
system
• Big bang approach and incremental approach are used to
integrate modules of a program
• In big bang approach , initially all modules are integrated and
then the entire program is tested . When one set of errors is
corrected nee sets of errors arise and this process continues
indefinitely
• To over come this incremental testing is followed
there are four types of incremental approaches
• top-down integration testing
• Bottom-up integration testing
• Regression testing
• Smoke testing

You might also like