- QATestLab Blog >
- QA Basics >
- Types of Software Testing >
- What is Component Testing?
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.
Learn more from QATestLab
Related Posts:
- Black Box Test Techniques. Random Testing
- Useful Tips for Choosing a Test Automation Tool
- Myths and Facts: Purpose of Software Testing
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.