Skip to main content

Component Testing

Component Testing is the way to testing the individual component separately. Component Testing is also called module testing or program Testing. Suppose any system have 5 components then all 5 component tested separately with efficiency called Component Testing.
Because of Component Testing done separately so here we use Driver and Stubs to provide them working same as system. Driver and Stub work like the missing software in Component Testing.

Let me explain it suppose any software have 3 component suppose P, Q and R. Only Q module developer and Manager told you to test it. How you will test it if Module P and R not developed. So here you can replace Module P and R with the dummy code these dummy code called Driver and Stub.

Stub is called from the tested software. In above example Module P behave like Stub.
Driver is calls the tested software. In above example Module R behave like Driver.

Component Testing perform just before the Integration Testing to make sure every Component of the software working correctly. 

Comments

Popular posts from this blog

What is API?

In general way, API (Application Programming Interface) is the intermediate software which is useful for two applications to communicate. API is the tool which is used for interaction of two applications. If developer developing any software which have multiple blocks (Modules) than developer use APIs to put them together.

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

Causes of Software Defects

It is practically impossible that developer develop a bug free software and that software we can deliver without Testing. If the complexity of the software increased then there must be bugs that can harm the users who will use that software.