What is Component Testing?

What is Component Testing?
May 20 12:30 2011 Print This Article

ISTQB Glossary gives us the following definition:

Unit Testing (module testing): See component testing

Component testing: Testing of individual software components (according to IEEE 610)

Component: The smallest element of software, which can be tested separately.

The conclusions that can be drawn from the glossary: component, module and unit testing – the same thing. Is this true? If you try to find a definition of the word “component” and “module” (and, most importantly, the differences between them), you risk going mad.

We are interested in the general definition of the words:

Component (from the Latin. Componens) is a constituent of an element of something.

Let us depict on the basis of this definition of component testing: it is a testing of components software package separately, in isolation.

What could be these parts? For example, we have an internet portal. It is a news ticker, articles and forum. The forum and a block of articles we can call individual components – a component of our product.

In this case, in the forum, and in CMS, we can connect the individual modules, which will be the components relative to their parents. The components of all levels “communicate” with each other. Modes of communication can be called interfaces, and interaction of components – integration.

What are the possible “languages” for communication, interfaces? This may be entries in the database, service calls with different parameters, API, and even files.

Unit tests are called test individual classes of our application, and this is white-box technique.

QATestLab is a team of professionals working in various fields to ensure the quality of IT projects: test managers, manual, automated testing test engineers, consultants and trainers.

Related Posts:

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles

1 Comment

write a comment
  1. Dani Almog
    May 25, 06:20 #1 Dani Almog

    Few year ago a founded component testing teams for a large SW provider.
    we identified a component as a part of product which was developed by more then single person and could be operated and maintained independently. when we have this definition the question of who will be testing this is very clear my answer preferred having a dedicated testing team to each component.

    Reply to this comment

Add a Comment

Your data will be safe! Your e-mail address will not be published. Also other data will not be shared with third person.
All fields are required.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.