What is Component Testing?

by Nataliia Vasylyna | May 20, 2011 12:30 pm

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[1], 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:

Endnotes:
  1. API: https://qatestlab.com/resources/knowledge-center/application-programming-interface/
  2. Black Box Test Techniques. Random Testing: https://blog.qatestlab.com/2011/09/19/black-box-test-techniques-random-testing/
  3. Useful Tips for Choosing a Test Automation Tool: https://blog.qatestlab.com/2011/06/08/useful-tips-for-choosing-a-test-automation-tool/
  4. Myths and Facts: Purpose of Software Testing: https://blog.qatestlab.com/2011/05/06/myths-and-rakes-the-purpose-of-testing-is-to-find-errors/

Source URL: https://blog.qatestlab.com/2011/05/20/what-is-a-component-testing/