Component Testing

Component Testing

Table of Contents

Component testing is defined as a software testing type where the testing is performed on each individual component separately without integrating with other components. It’s also mentioned as a Module Testing when it’s viewed from an architecture perspective. Component Testing is also additionally referred as unit testing or could also be a program testing.

Any software as a whole is formed of several components. Component level testing these components individually. There is a test strategy and a test plan for component testing. Where each part of the software or application is taken into account individually. For each of this component, a Test Scenario are going to be defined which is brought down into a high level of test cases -> Low level detailed Test cases within prerequisites.

Learn COMPONENT Testing with Sample Test Cases
  1. Sort of development life cycle model chosen
  2. Complexity of the software or application which is under test.
  3. Testing with or without isolation from the remainder of other component in software or application.

Who will do that component testing?

Component testing is completed by developers. ’Unit testing’ is completed by the developers where they are doing the testing of a person functionality or procedure. After this unit testing is completed.

When should we do that component Testing?

Component testing is performed at the start of testing once the software development of a certain module under test is completed. This build referred as UT Build (Unit Testing Build) is major functionality of all components are tested during this phase.

Entry Criteria for component testing:

Minimum number of the component to be included within the UT should be developed and unit tested.

Exit criteria:

Here the functionality of each component should be working fine. There shouldn’t be presence of any critical or high medium severity and priority defects Defect log.

Component Testing Techniques

Based on the Depth levels, component testing are often categorised:

  1. CTIS- Component Testing In Small
  2. CTIL- Component Testing in Large

CTIS- Component testing in Small:

Component testing could also be with or without isolation of other components within the software or application which is under test. If it’s  performed in the isolation of other component, then it’s referred as component testing in small.

Let us consider an example, where the web site which has 5 different webpages then testing each webpage separately and within the isolation of other components is referred as component testing in small.

Consider any website homepage which has many components like Home, Testing, SAP, WEB, Blog etc. Any software made from many components and also every component will have its own subcomponents. Testing each modules mentioned in example separately with none in integration with other components is referred as component Testing in Small.

Learn COMPONENT Testing with Sample Test Cases

CTIL-Component  Testing in Large:

Component testing avoided without isolation of other components within the software or application which is under test is referred as Component Testing in Large.

Let us consider another example of an application which consists of three components say component A, Component B and Component C. The developer has developed the component B few of its functionalities are hooked in to component A  and few are on component C.

Learn COMPONENT Testing with Sample Test Cases

The functionality flow is going to be A-> B-> C, which suggest there’s dependency to B from A and C as per the diagram stub is named function and therefore the driver is looking function. But the component A and therefore component C isn’t been developed yet so to check component B completely we can replace the component A and Component C by stub and driver’s as needed.

8 Responses

  1. Component testing
    Component testing is a software testing, to conduct a test as per the component separately. It’s different from integration testing it does not test software as whole or its stable. Component testing is additionally call unit testing which involves programing.
    Component testing is done by developers. Component testing is performed at the start of testing once the software development of a certain module under test is completed. Entry criteria for component testing is Minimum number of the component to be included within the UT should be developed and unit tested. Component testing also has exit criteria functionality of each component has to work fine bug free. There should not be any critical or high medium severity and priority defects log.

  2. Component Testing
    Component testing is a software testing type where the testing is performed on each individual component separately without integrating with other components. It’s also mentioned as a Module Testing. There is a test strategy and a test plan for component testing. Where each part of the software or application is taken into account individually.
    For each of this component a Test Scenario are going to be defined which is brought down into a high level of test cases -> Low level detailed Test cases within prerequisites. This testing is done by developer.
    1. Sort of development life cycle model chosen
    2. Complexity of the software or application which is under test.
    3. Testing with or without isolation from the remainder of other component in software or application
    Component testing is performed at the start of testing once in software development of a certain module under test is completed. during this phase build referred as UT Build (Unit Testing Build) is major functionality of all components are defftested.
    This testing has two criteria:
    1. Entry Criteria- Minimum number of the component to be included within the UT should be developed and unit tested.
    2. Exit Criteria- Here the functionality of each component should be working fine. There shouldn’t be presence of any critical or high medium severity and priority defects Defect log.
    Based on the Depth levels, component testing technique are often categorized:
    1. CTIS- Component Testing in Small
    2. CTIL- Component Testing in Large

  3. Component Testing:
    A component is the smallest or lowest unit of any application. So the component testing as the name suggests, is a technique of testing the lowest or the smallest unit of any application. An application can be thought of a combination and integration of many small individual modules. In this case, the modules or the units are tested independently. Each module receives an input, does some processing and generates the output which validates against the expected feature. This testing is generated by the Developers.

  4. Component testing is defined as a software testing type where the testing is performed on each individual component separately without integrating with other components. Component Testing referred as unit testing or could also be a program testing.

  5. Component testing
    Component testing is defined as a software testing type where the testing is performed on each individual component separately without integrating with other components. It’s also mentioned as a Module Testing when it’s viewed from an architecture perspective. Component Testing is also additionally referred as unit testing or could also be a program testing.

    Any software as a whole is formed of several components. Component level testing these components individually. There is a test strategy and a test plan for component testing. Where each part of the software or application is taken into account individually.
    Component Testing Techniques

    Based on the Depth levels, component testing are often categorised:

    CTIS- Component Testing In Small
    CTIL- Component Testing in Large

  6. Component testing is defined as a software testing type, in which the testing is performed on each individual component separately without integrating with other components.

  7. Component testing is defined as a software testing type where the testing is performed on each individual component separately without integrating with other components. It’s also mentioned as a Module Testing when it’s viewed from an architecture perspective. Component Testing is also additionally referred as unit testing or could also be a program testing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share this article
Subscribe
By pressing the Subscribe button, you confirm that you have read our Privacy Policy.
Need a Free Demo Class?
Join H2K Infosys IT Online Training
Enroll Free demo class