SlideShare a Scribd company logo
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 70
Different Software Testing Levels for Detecting Errors
Mohd. Ehmer Khan ehmerkhan@gmail.com
Lecturer
Department of Information Technology
Al Musanna College of Technology
P.O. Box-191, PC-314, Sultanate of Oman
Abstract
Software testing is the process to uncover requirement, design and coding errors in the program.
But software testing is not a “miracle” that can guarantee the production of high quality software
system, so to enhance the quality of a software and to do testing in a more unified way, the
testing process could be abstracted to different levels and each level of testing aims to test
different aspects of the system. In my paper, I have described different level of testing and these
different levels attempt to detect different types of defects. The goal here is to test the system
against requirement, and to test requirement themselves.
Keywords: Acceptance Testing, Integration Testing, Regression Testing, System Testing, Unit
Testing
1. INTRODUCTION
Software testing is the process of accessing the functionality and correctness of a software
through analysis. It also identifies most important defects, flaws, or errors in the application code
that must be fixed. The system must be tested in steps with the planned build and release
strategies. The key to successful testing strategies is selecting the right level of test at each stage
in a project.
The level of testing have a hierarchical structure which build up from the bottom-up where higher
level assume successful and satisfactory completion of lower level test. Each level of test is
characterized by an environment i.e. type of people, hardware, data etc. and these environmental
variables vary from project to project. [1] Each completed level represent a milestone on the
project plan and each stage represents a known level of physical integration and quality. These
integrated stages are known as level of testing.
The various levels of testing are:
1. Unit Testing
2. Integration Testing
3. System Testing
4. Acceptance Testing
5. Regression Testing
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 71
CLIENT NEEDS ACCEPTANCE TESTING
SYSTEM TESTING
BUSINESS
REQUIREMNETS
INTEGRATION
TESTING
DESIGN
UNIT TESTING
OR
(COMPONENT
TESTING)
TECHNICAL
DESIGN AND
CODING
Represent relationship
among testing
Represent
work flow
REGRESSION
TESTING
Not included in the testing level because
it is only perform when some changes
are made to an existing system
2. LEVELS OF TESTING
FIGURE 1: Represent various levels of testing
2.1 Unit Testing
Unit testing is also known as component testing, is the first and the lowest level of testing. In this
level, individual units/components of software are tested and it is typically done by a programmer
of the unit or module (Unit is the smallest piece of software that can be tested). Unit testing help
to expose bugs that might appear to be hidden. Unit testing focuses on implementation and also
require thorough understanding of the systems functional specification. [1]
Approximate level of documentation is needed for unit testing and there are certain minimum
requirements for that documentation. They are as follows:
1. It must be reviewable
2. All the record must be archivable
3. Test can be repeatable
Two Types of unit testing
Buddy Testing
Unit Testing
Automated Unit Testing
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 72
2.1.1 Buddy Testing
A better approach that has been encouraged is the use of a process called “Buddy Testing”. It
takes two-person team approach for code implementation and unit testing. Developer A writes the
test cases for developer B, while B performs the unit test and vice versa. There are certain
advantages of this team approach (buddy testing) – [1]
1. Models of the program specification requirements are served properly as the test cases
are created prior to coding
2. Buddy testing provide cross-training on application.
3. The testing process is more objective and productive.
The one disadvantage with buddy testing is the extra time required to write the test cases up front
and for the developer to familiarize themselves with each other specification and code.
2.1.2 Automating Unit Testing
Unit testing is usually automated and it is performed within the IDE of programmers. JUNIT (for
JAVA) is an example of automated unit testing. RUTE-J a randomized unit testing example of
JAVA is an effective and efficient method of testing.
2.2 Integration Testing
The level after unit testing is integration testing either the developer or an independent tester
performs integration testing. It involves combining and testing different units of the program. The
purpose of integration testing is to verify functional, performance and reliability requirements
placed on major design items. [2] Approximately 40% of software errors are revealed during
integration testing, so the need of integration testing must not be overlooked. The key purpose of
integration testing is to leverage the overall integration structure to allow rigorous testing at each
phase while minimizing duplication of efforts. Some different types of integration testing are
Big Bang Integration
Bottom-Up Integration
Integration Testing
Top-Down Integration
Sandwich Integration
2.2.1 Big Bang Integration Testing
Big bang is an approach to integration testing where almost all the units are combined together
and tested at one go. It is very effective for saving time in the integration testing process. Usage
model testing is a type of big-bang testing and can be used in both software and hardware
integration testing. [2]
There are certain disadvantages with big bang [3]
1. High cost of repair
2. Minimum observability, diagnosabilty, efficacy and feedback
3. Defects are identified at a very late stage.
4. High probability of missing critical defects.
5. Difficult to isolate the defect found.
2.2.2 Bottom-Up Integration Testing
In this approach, testing starts at the bottom of the tree. Bottom-Up integration uses test drivers to
drive and pass appropriate data to the lower level module. At each stage of bottom-up integration,
the units at the higher levels are replaced by drivers (drivers are throw away pieces of code that
are used to simulate procedure calls to child). [1]
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 73
Driver for
X
Driver for
Y
X Y
Driver for
A
A B
X
Driver for
B
Y
Driver for
A
A
X Y
In this approach behaviour of interaction point are crystal clear. On the other hand, writing and
maintaining test drivers is more difficult than entering stub.
Separate drivers for
each module, No. of
tests are V(X) + V(Y)
Test a basis set of paths A
in integration units X and Y
using a driver, No. of tests
V(A)
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 74
A B
X Y
Top
Integrated into single
subsystem (Complete Bottom
UP)
FIGURE 2: Represent complete bottom-up integration testing
2.2.3 Top-Down Integration Testing
Top-down integration testing starts from the top and then proceeds to its child units. Any other
lower level nodes that may be connected should be create as a stub. [4] As we add lower level
code, we will replace stubs with actual components. This testing can be performed either breadth
first or depth first. It is up to the tester to decide how many stubs should be replaced before the
next test is performed. As the system prototype can be developed early on in the project process,
this will make work easier and design defect can be found and corrected early. But one
disadvantage with top-down approach is that extra work is needed to be done to produce large
number of stubs.
Working from top level
towards bottom
Write stubs of used module
at each step in construction
Top
Stub X Stub Y
X Y
Stub A Stub B
Top
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 75
Top down is complete,
and all functionality can
be tested
FIGURE 3: Represent complete top-down integration testing
2.2.4 Sandwich Integration Testing
This approach combines the functionality of both bottom-up and top-down approach. The lower
section unit are tested using bottom-up integration and higher section unit are tested by using
top-up integration.[1] Less throw away codes are used by sandwich testing as compare to top
down approach. [5]
Working from extremes
toward center
It is flexible but complex
to plan
FIGURE 4: Represent complete sandwich integration testing
X Y
A B
Top
Stub B
Top
D
A B
C D
Top
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 76
2.3 System Testing
Major level of testing or we can say the core of testing comes in this level, it is called system
testing. This phase demands additional skills from a tester because various structural and
functional techniques are carried out in this phase. System testing occurs when the system has
been deployed onto a standard environment and all necessary components has been released
internally.
Besides functional testing, system testing may include testing configuration, security, optimal
utilization of resources and performance of the system. System testing is needed as:
1. It reduces cost
2. It increase productivity
3. It reduces commercial risk
The main goal of system testing is to evaluate the system as a whole and not its part. Various
forms of testing under system testing are [6]
Stress Testing
Recovery Testing
Structural Techniques Operation Testing
Compliance Testing
Security Testing
System Testing
Requirement Testing
Regression Testing
Functional Techniques Manual Support Testing
Control Testing
Parallel Testing
2.3.1 Structural Techniques
2.3.1.1 Stress Testing
It puts the program under heavy load or stress or we can also define stress testing as type of
performance testing conducted to evaluate a system or components at all beyond limits of its
specified work load. Stress testing may have a more specified meaning in certain industries, such
as fatigue testing for material. [7]
2.3.1.2 Recovery Testing
It is a process of testing to determine the recoverability of the software. Recovery testing is
executed to show that whether the recovery function of a system work in a correct manner or not.
It also handles how the system recovers from the failure and it handles corrupted data such as
data in DBMS and operating system.
2.3.1.3 Operation Testing
Testing conducted to evaluate a component or system in its operational environment. [8]
Operation testing also test how the system is fits in with existing operations and procedure in the
user organization.
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 77
2.3.1.4 Compliance Testing
It is usually done to determine the compliance of a system. It tests adherence to standards.
2.3.1.5 Security Testing
It helps to protect data and maintains the functionality of the system. The main concepts covered
by security testing are [7]
1. Confidentiality
2. Integrity
3. Authentication
4. Authorization
5. Availability
6. Non Duplication
Internet based application are good candidate for security testing due to the continuous growth in
the number of e-commerce applications.
2.3.2 Functional Techniques
2.3.2.1 Requirement Testing
It is the most fundamental form of testing and it checks and make sure that the system does what
it is required to do.
2.3.2.2 Regression Testing
It is performed to uncover new errors, in existing functionality after changes have been made to
the software. It assures that a change, such as a bugfix, did not introduce new bugs. [7]
Regression testing ensures that the unchanged functionality remains unchanged.
2.3.2.3 Manual Support Testing
It includes user documentation and tests whether the system can be used properly or not. [6]
2.3.2.4 Control Testing
It is the process of testing various required control mechanism for system.
2.3.2.5 Parallel Testing
In parallel testing the same input is feed into two different versions of the system to make sure
that both the versions of the system produces the same result. [6]
2.4 Acceptance Testing
FIGURE 5: Represent acceptance testing
System
Acceptance
Testing
Acceptable
for delivery
Check
Evaluate system
compliance
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 78
In software engineering acceptance testing is a level of software testing where the system is
tested for user acceptability. Acceptance testing checks the system against requirement.
Acceptance testing is performed after system testing and before making the system available for
actual use. [9] Sometimes acceptance testing also involves compatibility testing, it happens when
a new system is developed to replace the old one.
Types of system testing
2.4.1 Internal Acceptance Testing
It is also known as alpha testing, which is simulated or actual operational testing and it is carried
out by the test team who are not directly involved in the project.
2.4.2 External Acceptance Testing
It is performed by the external (not employed in an organization that developed the system)
2.4.2.1 Customer Acceptance Testing
Testing is performed by the customers who asked the organization to develop the software for
them (software not being owned by the organization that developed it) [9]
2.4.2.2 User Acceptance Testing
It is also known as beta testing which is operational testing by potential and existing customer at
an external site not otherwise involved with the developer, to determine whether or not system
satisfies customer needs.
Hence the goal of acceptance testing should verify the overall quality, correct operation,
scalability, completeness, usability, portability and robustness of the functional component which
is supplied by software system [6]
2.5 Regression Testing
Regression testing is performed when the software or its environment is changed. It is testing of a
previously tested program following modification to ensure that defects have not been introduce
or uncovered in unchanged areas of software, as a result of the changes made. [8]
Another important reason for regression testing is that it is often extremely difficult for a
programmer to find out how the changes in one part of the software effects the other part. [10]
Regression testing is a very important aspect of the system maintenance.
Acceptance Testing
Internal
AT
External
AT
Customer
AT
User AT
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 79
Two strategies of regression testing are [1]
Adaptive Maintenance
Regression Testing
Corrective Maintenance
2.5.1 Adaptive Maintenance
In adaptive maintenance the system specification are modified. Adaptive regression requires the
generation of new test cases to suit the new specification.
2.5.2 Corrective Maintenance
In corrective maintenance the system specification are not modified and its support the reuses of
test cases.
3. COMPARING DIFFERENT SOFTWARE TESTING LEVELS
Comparing different levels of testing that are done throughout the software development process
are outlined in the table below
Level Description Importance
Unit Testing
Verify the functionality of a specific section of code
at functional level.
White Box
Integration Testing
Tests the interfaces between component against a
software design.
White Box / Black Box
System testing
Test a completely integrated software system and
verifies that it satisfies the requirement.
Black Box
Acceptance Testing
It is performed as a part of hand-off process
between any two phases of software development
process.
Black Box
Regression Testing
Tests the defects that are occurred after a major
code change i.e. tests new functionality in a
program.
White Box
TABLE 1: Comparison between different software testing levels.
4. CONCLUSION
Software testing has the potential to save time and money by identifying errors early, and to
improve customer satisfaction by delivering a more error free product. Software testing normally
involves different levels of test case specification, test case generation, test execution, test
evaluation and regression testing. Each of these levels plays an important role in the production
of the program and meets their desired specification.
We have seen different level of testing so far. Starting from unit testing which is at the lowest level
and ensures that the implementation fits the functional specification. Integration testing is next to
unit testing and it tests the communication between different components of the system. After
integration testing, system testing comes which tests the functionality of software as a complete
system. The last level is acceptance testing and it verifies whether the end user is satisfy with the
Mohd. Ehmer Khan
International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 80
system or not. Lastly, the regression testing which ensures that the modification applied to a
system has not adversely change system behavior.
Irrespective of different levels of testing the testing should encompass the following
1. Cost of failure
2. Identify defect before customer finds them
3. Reduce the risk of releasing
4. Evaluation of product with an independent perspective
5. REFRENCES
[1] Levels of Testing written by Patrick Oladimeji supervised by Prof. Dr. Holger Schlingloff &
Dr. Markus Roggenbach published on 1/12/2007 available at
http://www.cs.swan.ac.uk/~csmarkus/CS339/dissertations/OladimejiP.pdf
[2] Integration testing available at http://en.wikipedia.org/wiki/Integration_testing
[3] Big bang integration available at http://www.testinggeek.com/big-bang-integration-testing
[4] Integration testing by Thomas Bradley (368100) published on February 8, 2008 available at
http://sucs.org/~tobeon/testing.pdf
[5] Integration testing & Component based software testing chapter # 21 by Mauro & Michal
Young, 2007 (c) available at http://ix.cs.uoregon.edu/~michal/book/slides/pdf/PezzeYoung-
Ch21-integration.pdf
[6] Cognizant Technology Solution available at pp 44, 50, 52 & 61 available at
http://www.scribd.com/doc/6749799/Software-Testing-COGNIZANT-Notes
[7] System testing available at http://en.wikipedia.org/wiki/System_testing
[8] Standard glossary of terms used in Software Testing (ISTQB) version 2.1 (dd. April 1st,
2010) by Erik van Veenendaal (The Netherlands) available at
http://istqb.org/download/attachments/2326555/ISTQB+Glossary+of+Testing+Terms+2+1.p
df
[9] Levels of software testing available at http://softwaretestingfundamentals.com/software-
testing-levels/
[10] Regression testing available at http://en.wikipedia.org/wiki/Regression_testing
Ad

More Related Content

What's hot (20)

Verification and validation
Verification and validationVerification and validation
Verification and validation
Suresh Thammishetty
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
SHREEHARI WADAWADAGI
 
11 software testing_strategy
11 software testing_strategy11 software testing_strategy
11 software testing_strategy
University of Computer Science and Technology
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Sachin-QA
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
subash kumar
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
university of education,Lahore
 
Verification & Validation
Verification & ValidationVerification & Validation
Verification & Validation
Dhanasekaran Nagarajan
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 
Testing types functional and nonfunctional - Kati Holasz
Testing types   functional and nonfunctional - Kati HolaszTesting types   functional and nonfunctional - Kati Holasz
Testing types functional and nonfunctional - Kati Holasz
Holasz Kati
 
Manual Testing
Manual TestingManual Testing
Manual Testing
Zeeshan Khan
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
Trinity Dwarka
 
Testing tools
Testing toolsTesting tools
Testing tools
SETU Software Systems Pvt. Ltd
 
Software testing
Software testingSoftware testing
Software testing
balamurugan.k Kalibalamurugan
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
Pragya G
 
Functional testing patterns
Functional testing patternsFunctional testing patterns
Functional testing patterns
Premanand Chandrasekaran
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validation
aliraza786
 
Software testing
Software testingSoftware testing
Software testing
Ahmed Moawad
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
SHREEHARI WADAWADAGI
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Sachin-QA
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
subash kumar
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 
Testing types functional and nonfunctional - Kati Holasz
Testing types   functional and nonfunctional - Kati HolaszTesting types   functional and nonfunctional - Kati Holasz
Testing types functional and nonfunctional - Kati Holasz
Holasz Kati
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
Trinity Dwarka
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
Pragya G
 
Tools for Software Verification and Validation
Tools for Software Verification and ValidationTools for Software Verification and Validation
Tools for Software Verification and Validation
aliraza786
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 

Similar to Different Software Testing Levels for Detecting Errors (20)

A COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTINGA COMPOSITION ON SOFTWARE TESTING
A COMPOSITION ON SOFTWARE TESTING
International Journal of Technical Research & Application
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
Sumit Sinha CSM®, CSP®, EPGBM® - IIM-Calcutta
 
T0 numtq0nje=
T0 numtq0nje=T0 numtq0nje=
T0 numtq0nje=
International Journal of Science and Research (IJSR)
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Types and levels of testing chpter 2 (1).pdf
Types and levels of testing chpter 2 (1).pdfTypes and levels of testing chpter 2 (1).pdf
Types and levels of testing chpter 2 (1).pdf
riteshdebadwar
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
AkshayaM79
 
ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
JhonLiver
 
Unit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software EngineeringUnit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software Engineering
ijtsrd
 
SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:
Ramla Sheikh
 
Software testing
Software testingSoftware testing
Software testing
lokareminakshi
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
8759000398
 
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
Unit, Integration, and Functional Testing_ 4 main points of difference.pdfUnit, Integration, and Functional Testing_ 4 main points of difference.pdf
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
flufftailshop
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM Standard
Dhrumil Panchal
 
What is integration testing
What is integration testingWhat is integration testing
What is integration testing
TestingXperts
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
Emi Rizki Ayunanda
 
Software Testing
Software Testing Software Testing
Software Testing
CHANDAN CHATURVEDI
 
Testing concepts
Testing conceptsTesting concepts
Testing concepts
sangamesh kumbar
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Rajesh-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Fayis-QA
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Types and levels of testing chpter 2 (1).pdf
Types and levels of testing chpter 2 (1).pdfTypes and levels of testing chpter 2 (1).pdf
Types and levels of testing chpter 2 (1).pdf
riteshdebadwar
 
unittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx documentunittesting-190620114546 (1).pptx document
unittesting-190620114546 (1).pptx document
AkshayaM79
 
ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
JhonLiver
 
Unit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software EngineeringUnit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software Engineering
ijtsrd
 
SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:SOFTWARE TESTING STRATEGIES:
SOFTWARE TESTING STRATEGIES:
Ramla Sheikh
 
Testing in Software Engineering.docx
Testing in Software Engineering.docxTesting in Software Engineering.docx
Testing in Software Engineering.docx
8759000398
 
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
Unit, Integration, and Functional Testing_ 4 main points of difference.pdfUnit, Integration, and Functional Testing_ 4 main points of difference.pdf
Unit, Integration, and Functional Testing_ 4 main points of difference.pdf
flufftailshop
 
Different Software Testing Types and CMM Standard
Different Software Testing Types and CMM StandardDifferent Software Testing Types and CMM Standard
Different Software Testing Types and CMM Standard
Dhrumil Panchal
 
What is integration testing
What is integration testingWhat is integration testing
What is integration testing
TestingXperts
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
Emi Rizki Ayunanda
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Rajesh-QA
 
Testing Concepts and Manual Testing
Testing Concepts and Manual TestingTesting Concepts and Manual Testing
Testing Concepts and Manual Testing
Fayis-QA
 
Ad

More from Waqas Tariq (20)

The Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a WidgetThe Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a Widget
Waqas Tariq
 
3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image
Waqas Tariq
 
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Waqas Tariq
 
A Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab DisabledA Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab Disabled
Waqas Tariq
 
Real Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor FilterReal Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor Filter
Waqas Tariq
 
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Waqas Tariq
 
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Waqas Tariq
 
Collaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational KnolwedgeCollaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational Knolwedge
Waqas Tariq
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI design
Waqas Tariq
 
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 BoardDevelopment of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Waqas Tariq
 
An overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer InterfaceAn overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer Interface
Waqas Tariq
 
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Waqas Tariq
 
Principles of Good Screen Design in Websites
Principles of Good Screen Design in WebsitesPrinciples of Good Screen Design in Websites
Principles of Good Screen Design in Websites
Waqas Tariq
 
Progress of Virtual Teams in Albania
Progress of Virtual Teams in AlbaniaProgress of Virtual Teams in Albania
Progress of Virtual Teams in Albania
Waqas Tariq
 
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Waqas Tariq
 
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
Waqas Tariq
 
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Waqas Tariq
 
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text EditorDynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Waqas Tariq
 
An Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity RemovalAn Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity Removal
Waqas Tariq
 
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Waqas Tariq
 
The Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a WidgetThe Use of Java Swing’s Components to Develop a Widget
The Use of Java Swing’s Components to Develop a Widget
Waqas Tariq
 
3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image3D Human Hand Posture Reconstruction Using a Single 2D Image
3D Human Hand Posture Reconstruction Using a Single 2D Image
Waqas Tariq
 
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Camera as Mouse and Keyboard for Handicap Person with Troubleshooting Ability...
Waqas Tariq
 
A Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab DisabledA Proposed Web Accessibility Framework for the Arab Disabled
A Proposed Web Accessibility Framework for the Arab Disabled
Waqas Tariq
 
Real Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor FilterReal Time Blinking Detection Based on Gabor Filter
Real Time Blinking Detection Based on Gabor Filter
Waqas Tariq
 
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Computer Input with Human Eyes-Only Using Two Purkinje Images Which Works in ...
Waqas Tariq
 
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Toward a More Robust Usability concept with Perceived Enjoyment in the contex...
Waqas Tariq
 
Collaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational KnolwedgeCollaborative Learning of Organisational Knolwedge
Collaborative Learning of Organisational Knolwedge
Waqas Tariq
 
A PNML extension for the HCI design
A PNML extension for the HCI designA PNML extension for the HCI design
A PNML extension for the HCI design
Waqas Tariq
 
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 BoardDevelopment of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Development of Sign Signal Translation System Based on Altera’s FPGA DE2 Board
Waqas Tariq
 
An overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer InterfaceAn overview on Advanced Research Works on Brain-Computer Interface
An overview on Advanced Research Works on Brain-Computer Interface
Waqas Tariq
 
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Exploring the Relationship Between Mobile Phone and Senior Citizens: A Malays...
Waqas Tariq
 
Principles of Good Screen Design in Websites
Principles of Good Screen Design in WebsitesPrinciples of Good Screen Design in Websites
Principles of Good Screen Design in Websites
Waqas Tariq
 
Progress of Virtual Teams in Albania
Progress of Virtual Teams in AlbaniaProgress of Virtual Teams in Albania
Progress of Virtual Teams in Albania
Waqas Tariq
 
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Cognitive Approach Towards the Maintenance of Web-Sites Through Quality Evalu...
Waqas Tariq
 
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
USEFul: A Framework to Mainstream Web Site Usability through Automated Evalua...
Waqas Tariq
 
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Robot Arm Utilized Having Meal Support System Based on Computer Input by Huma...
Waqas Tariq
 
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text EditorDynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Dynamic Construction of Telugu Speech Corpus for Voice Enabled Text Editor
Waqas Tariq
 
An Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity RemovalAn Improved Approach for Word Ambiguity Removal
An Improved Approach for Word Ambiguity Removal
Waqas Tariq
 
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Parameters Optimization for Improving ASR Performance in Adverse Real World N...
Waqas Tariq
 
Ad

Recently uploaded (20)

Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Political History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptxPolitical History of Pala dynasty Pala Rulers NEP.pptx
Political History of Pala dynasty Pala Rulers NEP.pptx
Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
To study the nervous system of insect.pptx
To study the nervous system of insect.pptxTo study the nervous system of insect.pptx
To study the nervous system of insect.pptx
Arshad Shaikh
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
To study Digestive system of insect.pptx
To study Digestive system of insect.pptxTo study Digestive system of insect.pptx
To study Digestive system of insect.pptx
Arshad Shaikh
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 

Different Software Testing Levels for Detecting Errors

  • 1. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 70 Different Software Testing Levels for Detecting Errors Mohd. Ehmer Khan [email protected] Lecturer Department of Information Technology Al Musanna College of Technology P.O. Box-191, PC-314, Sultanate of Oman Abstract Software testing is the process to uncover requirement, design and coding errors in the program. But software testing is not a “miracle” that can guarantee the production of high quality software system, so to enhance the quality of a software and to do testing in a more unified way, the testing process could be abstracted to different levels and each level of testing aims to test different aspects of the system. In my paper, I have described different level of testing and these different levels attempt to detect different types of defects. The goal here is to test the system against requirement, and to test requirement themselves. Keywords: Acceptance Testing, Integration Testing, Regression Testing, System Testing, Unit Testing 1. INTRODUCTION Software testing is the process of accessing the functionality and correctness of a software through analysis. It also identifies most important defects, flaws, or errors in the application code that must be fixed. The system must be tested in steps with the planned build and release strategies. The key to successful testing strategies is selecting the right level of test at each stage in a project. The level of testing have a hierarchical structure which build up from the bottom-up where higher level assume successful and satisfactory completion of lower level test. Each level of test is characterized by an environment i.e. type of people, hardware, data etc. and these environmental variables vary from project to project. [1] Each completed level represent a milestone on the project plan and each stage represents a known level of physical integration and quality. These integrated stages are known as level of testing. The various levels of testing are: 1. Unit Testing 2. Integration Testing 3. System Testing 4. Acceptance Testing 5. Regression Testing
  • 2. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 71 CLIENT NEEDS ACCEPTANCE TESTING SYSTEM TESTING BUSINESS REQUIREMNETS INTEGRATION TESTING DESIGN UNIT TESTING OR (COMPONENT TESTING) TECHNICAL DESIGN AND CODING Represent relationship among testing Represent work flow REGRESSION TESTING Not included in the testing level because it is only perform when some changes are made to an existing system 2. LEVELS OF TESTING FIGURE 1: Represent various levels of testing 2.1 Unit Testing Unit testing is also known as component testing, is the first and the lowest level of testing. In this level, individual units/components of software are tested and it is typically done by a programmer of the unit or module (Unit is the smallest piece of software that can be tested). Unit testing help to expose bugs that might appear to be hidden. Unit testing focuses on implementation and also require thorough understanding of the systems functional specification. [1] Approximate level of documentation is needed for unit testing and there are certain minimum requirements for that documentation. They are as follows: 1. It must be reviewable 2. All the record must be archivable 3. Test can be repeatable Two Types of unit testing Buddy Testing Unit Testing Automated Unit Testing
  • 3. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 72 2.1.1 Buddy Testing A better approach that has been encouraged is the use of a process called “Buddy Testing”. It takes two-person team approach for code implementation and unit testing. Developer A writes the test cases for developer B, while B performs the unit test and vice versa. There are certain advantages of this team approach (buddy testing) – [1] 1. Models of the program specification requirements are served properly as the test cases are created prior to coding 2. Buddy testing provide cross-training on application. 3. The testing process is more objective and productive. The one disadvantage with buddy testing is the extra time required to write the test cases up front and for the developer to familiarize themselves with each other specification and code. 2.1.2 Automating Unit Testing Unit testing is usually automated and it is performed within the IDE of programmers. JUNIT (for JAVA) is an example of automated unit testing. RUTE-J a randomized unit testing example of JAVA is an effective and efficient method of testing. 2.2 Integration Testing The level after unit testing is integration testing either the developer or an independent tester performs integration testing. It involves combining and testing different units of the program. The purpose of integration testing is to verify functional, performance and reliability requirements placed on major design items. [2] Approximately 40% of software errors are revealed during integration testing, so the need of integration testing must not be overlooked. The key purpose of integration testing is to leverage the overall integration structure to allow rigorous testing at each phase while minimizing duplication of efforts. Some different types of integration testing are Big Bang Integration Bottom-Up Integration Integration Testing Top-Down Integration Sandwich Integration 2.2.1 Big Bang Integration Testing Big bang is an approach to integration testing where almost all the units are combined together and tested at one go. It is very effective for saving time in the integration testing process. Usage model testing is a type of big-bang testing and can be used in both software and hardware integration testing. [2] There are certain disadvantages with big bang [3] 1. High cost of repair 2. Minimum observability, diagnosabilty, efficacy and feedback 3. Defects are identified at a very late stage. 4. High probability of missing critical defects. 5. Difficult to isolate the defect found. 2.2.2 Bottom-Up Integration Testing In this approach, testing starts at the bottom of the tree. Bottom-Up integration uses test drivers to drive and pass appropriate data to the lower level module. At each stage of bottom-up integration, the units at the higher levels are replaced by drivers (drivers are throw away pieces of code that are used to simulate procedure calls to child). [1]
  • 4. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 73 Driver for X Driver for Y X Y Driver for A A B X Driver for B Y Driver for A A X Y In this approach behaviour of interaction point are crystal clear. On the other hand, writing and maintaining test drivers is more difficult than entering stub. Separate drivers for each module, No. of tests are V(X) + V(Y) Test a basis set of paths A in integration units X and Y using a driver, No. of tests V(A)
  • 5. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 74 A B X Y Top Integrated into single subsystem (Complete Bottom UP) FIGURE 2: Represent complete bottom-up integration testing 2.2.3 Top-Down Integration Testing Top-down integration testing starts from the top and then proceeds to its child units. Any other lower level nodes that may be connected should be create as a stub. [4] As we add lower level code, we will replace stubs with actual components. This testing can be performed either breadth first or depth first. It is up to the tester to decide how many stubs should be replaced before the next test is performed. As the system prototype can be developed early on in the project process, this will make work easier and design defect can be found and corrected early. But one disadvantage with top-down approach is that extra work is needed to be done to produce large number of stubs. Working from top level towards bottom Write stubs of used module at each step in construction Top Stub X Stub Y X Y Stub A Stub B Top
  • 6. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 75 Top down is complete, and all functionality can be tested FIGURE 3: Represent complete top-down integration testing 2.2.4 Sandwich Integration Testing This approach combines the functionality of both bottom-up and top-down approach. The lower section unit are tested using bottom-up integration and higher section unit are tested by using top-up integration.[1] Less throw away codes are used by sandwich testing as compare to top down approach. [5] Working from extremes toward center It is flexible but complex to plan FIGURE 4: Represent complete sandwich integration testing X Y A B Top Stub B Top D A B C D Top
  • 7. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 76 2.3 System Testing Major level of testing or we can say the core of testing comes in this level, it is called system testing. This phase demands additional skills from a tester because various structural and functional techniques are carried out in this phase. System testing occurs when the system has been deployed onto a standard environment and all necessary components has been released internally. Besides functional testing, system testing may include testing configuration, security, optimal utilization of resources and performance of the system. System testing is needed as: 1. It reduces cost 2. It increase productivity 3. It reduces commercial risk The main goal of system testing is to evaluate the system as a whole and not its part. Various forms of testing under system testing are [6] Stress Testing Recovery Testing Structural Techniques Operation Testing Compliance Testing Security Testing System Testing Requirement Testing Regression Testing Functional Techniques Manual Support Testing Control Testing Parallel Testing 2.3.1 Structural Techniques 2.3.1.1 Stress Testing It puts the program under heavy load or stress or we can also define stress testing as type of performance testing conducted to evaluate a system or components at all beyond limits of its specified work load. Stress testing may have a more specified meaning in certain industries, such as fatigue testing for material. [7] 2.3.1.2 Recovery Testing It is a process of testing to determine the recoverability of the software. Recovery testing is executed to show that whether the recovery function of a system work in a correct manner or not. It also handles how the system recovers from the failure and it handles corrupted data such as data in DBMS and operating system. 2.3.1.3 Operation Testing Testing conducted to evaluate a component or system in its operational environment. [8] Operation testing also test how the system is fits in with existing operations and procedure in the user organization.
  • 8. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 77 2.3.1.4 Compliance Testing It is usually done to determine the compliance of a system. It tests adherence to standards. 2.3.1.5 Security Testing It helps to protect data and maintains the functionality of the system. The main concepts covered by security testing are [7] 1. Confidentiality 2. Integrity 3. Authentication 4. Authorization 5. Availability 6. Non Duplication Internet based application are good candidate for security testing due to the continuous growth in the number of e-commerce applications. 2.3.2 Functional Techniques 2.3.2.1 Requirement Testing It is the most fundamental form of testing and it checks and make sure that the system does what it is required to do. 2.3.2.2 Regression Testing It is performed to uncover new errors, in existing functionality after changes have been made to the software. It assures that a change, such as a bugfix, did not introduce new bugs. [7] Regression testing ensures that the unchanged functionality remains unchanged. 2.3.2.3 Manual Support Testing It includes user documentation and tests whether the system can be used properly or not. [6] 2.3.2.4 Control Testing It is the process of testing various required control mechanism for system. 2.3.2.5 Parallel Testing In parallel testing the same input is feed into two different versions of the system to make sure that both the versions of the system produces the same result. [6] 2.4 Acceptance Testing FIGURE 5: Represent acceptance testing System Acceptance Testing Acceptable for delivery Check Evaluate system compliance
  • 9. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 78 In software engineering acceptance testing is a level of software testing where the system is tested for user acceptability. Acceptance testing checks the system against requirement. Acceptance testing is performed after system testing and before making the system available for actual use. [9] Sometimes acceptance testing also involves compatibility testing, it happens when a new system is developed to replace the old one. Types of system testing 2.4.1 Internal Acceptance Testing It is also known as alpha testing, which is simulated or actual operational testing and it is carried out by the test team who are not directly involved in the project. 2.4.2 External Acceptance Testing It is performed by the external (not employed in an organization that developed the system) 2.4.2.1 Customer Acceptance Testing Testing is performed by the customers who asked the organization to develop the software for them (software not being owned by the organization that developed it) [9] 2.4.2.2 User Acceptance Testing It is also known as beta testing which is operational testing by potential and existing customer at an external site not otherwise involved with the developer, to determine whether or not system satisfies customer needs. Hence the goal of acceptance testing should verify the overall quality, correct operation, scalability, completeness, usability, portability and robustness of the functional component which is supplied by software system [6] 2.5 Regression Testing Regression testing is performed when the software or its environment is changed. It is testing of a previously tested program following modification to ensure that defects have not been introduce or uncovered in unchanged areas of software, as a result of the changes made. [8] Another important reason for regression testing is that it is often extremely difficult for a programmer to find out how the changes in one part of the software effects the other part. [10] Regression testing is a very important aspect of the system maintenance. Acceptance Testing Internal AT External AT Customer AT User AT
  • 10. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 79 Two strategies of regression testing are [1] Adaptive Maintenance Regression Testing Corrective Maintenance 2.5.1 Adaptive Maintenance In adaptive maintenance the system specification are modified. Adaptive regression requires the generation of new test cases to suit the new specification. 2.5.2 Corrective Maintenance In corrective maintenance the system specification are not modified and its support the reuses of test cases. 3. COMPARING DIFFERENT SOFTWARE TESTING LEVELS Comparing different levels of testing that are done throughout the software development process are outlined in the table below Level Description Importance Unit Testing Verify the functionality of a specific section of code at functional level. White Box Integration Testing Tests the interfaces between component against a software design. White Box / Black Box System testing Test a completely integrated software system and verifies that it satisfies the requirement. Black Box Acceptance Testing It is performed as a part of hand-off process between any two phases of software development process. Black Box Regression Testing Tests the defects that are occurred after a major code change i.e. tests new functionality in a program. White Box TABLE 1: Comparison between different software testing levels. 4. CONCLUSION Software testing has the potential to save time and money by identifying errors early, and to improve customer satisfaction by delivering a more error free product. Software testing normally involves different levels of test case specification, test case generation, test execution, test evaluation and regression testing. Each of these levels plays an important role in the production of the program and meets their desired specification. We have seen different level of testing so far. Starting from unit testing which is at the lowest level and ensures that the implementation fits the functional specification. Integration testing is next to unit testing and it tests the communication between different components of the system. After integration testing, system testing comes which tests the functionality of software as a complete system. The last level is acceptance testing and it verifies whether the end user is satisfy with the
  • 11. Mohd. Ehmer Khan International Journal of Software Engineering (IJSE), Volume (2) : Issue (4) : 2011 80 system or not. Lastly, the regression testing which ensures that the modification applied to a system has not adversely change system behavior. Irrespective of different levels of testing the testing should encompass the following 1. Cost of failure 2. Identify defect before customer finds them 3. Reduce the risk of releasing 4. Evaluation of product with an independent perspective 5. REFRENCES [1] Levels of Testing written by Patrick Oladimeji supervised by Prof. Dr. Holger Schlingloff & Dr. Markus Roggenbach published on 1/12/2007 available at http://www.cs.swan.ac.uk/~csmarkus/CS339/dissertations/OladimejiP.pdf [2] Integration testing available at http://en.wikipedia.org/wiki/Integration_testing [3] Big bang integration available at http://www.testinggeek.com/big-bang-integration-testing [4] Integration testing by Thomas Bradley (368100) published on February 8, 2008 available at http://sucs.org/~tobeon/testing.pdf [5] Integration testing & Component based software testing chapter # 21 by Mauro & Michal Young, 2007 (c) available at http://ix.cs.uoregon.edu/~michal/book/slides/pdf/PezzeYoung- Ch21-integration.pdf [6] Cognizant Technology Solution available at pp 44, 50, 52 & 61 available at http://www.scribd.com/doc/6749799/Software-Testing-COGNIZANT-Notes [7] System testing available at http://en.wikipedia.org/wiki/System_testing [8] Standard glossary of terms used in Software Testing (ISTQB) version 2.1 (dd. April 1st, 2010) by Erik van Veenendaal (The Netherlands) available at http://istqb.org/download/attachments/2326555/ISTQB+Glossary+of+Testing+Terms+2+1.p df [9] Levels of software testing available at http://softwaretestingfundamentals.com/software- testing-levels/ [10] Regression testing available at http://en.wikipedia.org/wiki/Regression_testing