The Wayback Machine - https://web.archive.org/web/20240701171915/https://www.geeksforgeeks.org/component-software-testing/
Open In App

Component Software Testing

Last Updated : 14 Aug, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

Component Testing is a type of software testing in which usability of each individual component is tested. Along with the usability test, behavioral evaluation is also done for each individual component. To perform this type of testing, each component needs to be in independent state and also should be in controllable state. Each component of the software should be user comprehensible.

Assume in a software application consists of five components. The testing of each component is done independently by the tester as part of the development cycle before integration testing is performed on it. It helps in saving time by finding the bugs at a very early stage in the cycle. Test structure tools or debugging tools are used for this type of testing as this is performed by programmers on the code written by them and with the support of IDE. Defects detected during component testing are fixed as soon as possible when they are found without maintaining the records.

Component testing has an important role in finding the issue. Before processing with the integration testing, component testing is performed in order to ensure that each component of the application is working correctly and as per requirement.

Objective of Component Testing:
The objective of Component Testing is:

  • To verify the input and output behavior of the system.
  • To check the usability of each component.
  • To test the user comprehensibility of the software.
  • To test the state of the each components of the system.

Component Testing Process:





  • Requirement Analysis:
    User requirement related to each component is observed.
  • Test Planning:
    Test is planned according to the analysis of the requirements of the user.
  • Test Specification:
    In this section it is specified that which test case must be run and which test case should be skipped.
  • Test Execution:
    Once the test cases are specified according to the user requirements, test cases are executed.
  • Test Recording:
    Test recording is the having record of the defects that are detected.
  • Test Verification:
    Test verification is the process to determine whether the product meet specification.
  • Completion:
    This is the last phase of the testing process in which the result is analyzed.

Previous Article
Next Article

Similar Reads

Principles of software testing - Software Testing
Software testing is an important aspect of software development, ensuring that applications function correctly and meet user expectations. In this article, we will go into the principles of software testing, exploring key concepts and methodologies to enhance product quality. From test planning to execution and analysis, understanding these princip
10 min read
PEN Testing in Software Testing
Pen testing, a series of activities taken out in order to identify the various potential vulnerabilities present in the system which any attack can use to exploit the organization. It enables the organization to modify its security strategies and plans after knowing the currently present vulnerabilities and improper system configurations. This pape
3 min read
Load Testing Basics, Tools & Practices in Software Testing
Introduction: Load testing is a type of performance testing that simulates a real-world load on a system or application to see how it performs under stress. The goal of load testing is to identify bottlenecks and identify the maximum number of users or transactions the system can handle. Some popular tools for load testing include Apache JMeter, Lo
6 min read
Basis Path Testing in Software Testing
Prerequisite - Path Testing Basis Path Testing is a white-box testing technique based on the control structure of a program or a module. Using this structure, a control flow graph is prepared and the various possible paths present in the graph are executed as a part of testing. Therefore, by definition, Basis path testing is a technique of selectin
5 min read
What is Code Driven Testing in Software Testing?
Prerequisite - TDD (Test Driven Testing) Code Driven Testing is a software development approach in which it uses testing frameworks that allows the execution of unit tests to determine whether various sections of the code are acting accordingly as expected under various conditions. That is, in Code Driven Testing test cases are developed to specify
2 min read
Decision Table Based Testing in Software Testing
What is a Decision Table : Decision tables are used in various engineering fields to represent complex logical relationships. This testing is a very effective tool in testing the software and its requirements management. The output may be dependent on many input conditions and decision tables give a tabular view of various combinations of input con
3 min read
Difference between Error Seeding and Mutation Testing in Software Testing
1. Error Seeding :Error seeding can be defined as a process of adding errors to the program code that can be used for evaluating the number of remaining errors after the system software test part. The process works by adding the errors to the program code that one can try to find & estimate the number of real errors in the code base with the he
3 min read
Response Testing in Software Testing
Software applications are developed to provide some specific service to the customers. When an end-user uses a software product/application between the software and the user, a request-response interaction takes place. This request-response interaction is one method of communication between users and systems or multiple systems in a network. When o
8 min read
Random Testing in Software Testing
Random testing is software testing in which the system is tested with the help of generating random and independent inputs and test cases. Random testing is also named monkey testing. It is a black box assessment outline technique in which the tests are being chosen randomly and the results are being compared by some software identification to chec
4 min read
Overview of Conversion Testing in Software Testing
Conversion Testing :Every software development process follows the Software Development Life Cycle (SDLC) for developing and delivering a good quality software product. In the testing phase of software development, different types of software testing are performed to check different check parameters or test cases. Where in each software data is an
6 min read