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

Why Jmeter is best option for Performance Testing?

There are multiple tools in market for performance testing of any software but Jmeter is the best solution among all of them due to some reason listed below 1) Jmeter is the open source application so users who use this application will not to pay anything. 2) You can use Jmeter for performance of any web application,  Databases and Web Services (REST and SOAP APIs). 3) Jmeter have the user friendly UI component so it is very easy to use. 4) Jmeter can be used to simulate to put maximum number of concurrent users on a server, network or object to test its strength or to analyze overall performance under different load types. 5) Jmeter also use for functional testing for static( JavaScript and HTML) and dynamic( JSP, Servlets and AJAX) resources. 6) Jmeter provides Verity of graphical representations for performance report so it is easy to understand.

Record and Play Back in JMeter

In this section we will discuss about how to record a Test script than how we can play back that script in the browser. First we develop a  a Test Script than put a load of suppose 100 users and than run the test script again with this load while Test executing than we are getting result in performance matrices that how the Test performing in different number of users.

How You Can Test Database?

Now we know the Database Testing which you can learn in my last article. In this article we will discuss about the steps that need to following to test any Database. Database Tester should have some basic knowledge regarding SQL Command like DDL (create/drop),  DML (Insert/Delete/Update) and DCL (Grant/Revoke).