What is meant by component testing? What is difference between Component Testing and Integration Testing

Showing Answers 1 - 9 of 9 Answers

S.Thavaguru

  • Mar 6th, 2007
 

Component testing is nothin but, to test the smallest compilabe unit which does not have Communication component ( Called components, Calling component itself).... Do to the intgration b/w the components the following condition should statisfy
1. The component should compiled togather
2. Linked together
3. Loaded together

Integration in nothing but to test the links/ and data flows betwwen the modules

  Was this answer useful?  Yes

Component testing will comes under automation testing, where you consider every window as a component and write all the functions

Example : suppose you have 3 window
Login window
Personal Details window,
Order window

All the possibilities of the login window are covered in a single component function and by giving the parameters in the calling function we handle login window, the parameters might be
1) username, pwd, Login Button (for login functionality)
2) "","", Help button (to open help window)
3) username, pwd, Cancel button (check the cancel functionality)

Like wise we can create component function for Personal details window and order window

Coming to integration testing,
Suppose if I want to test whole application, for the above example Login in to application, entering personal details, fill the order form and submit, so to do this one we need to integrate the components and make the script as a single one and test the functionality.
The main objective of integration testing is to see whether the data flow and flow of screens are as per the intended use

Plz correct me if i am wrong

  Was this answer useful?  Yes

gokulpriya

  • Apr 1st, 2009
 

Component testing is basically a middle ware testing ie.between front end and back end

I will explain by example

In a banking online application(front end) all the payments created in the day will be batched and will be sent to database(back end) in ESB(enterprise service bus).

This link between the front end and back end  is tested in components testing.There may be several components involved in between for transfer. So the links between the component and the data transfered is tested in component testing.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions