Integration testing is grey box testing method in which combined parts of an application is tested to determine whether all these functions works together. Let us learn this with an example.
Suppose your Drupal site sells online products and the shipment charge is set in such a way that it will be applicable to the product depending on the weight and destination. While doing the unit testing, tester has to test product selection, setting price,setting shipment to the destination etc separately. But in integration testing we test all these different functionality as a whole.
Steps to check integration testing
- Open the site.
- Go to product page.
- Select product.
- Selected product and quantity according to your preference.
- Select payment options like paypal or credit card.
- Select shipping method and shipping details.
- Pay your payment.
- Then confirm your order by clicking Apply confirmation button.
The above work flow is implemented by configuring the following Ubercart modules.
Here while performing integration testing we will assure that all functionality which are combined by integrating these modules work as a whole. This type of testing is mainly performed on client/server and distributed systems.
Hope this was helpful for you to learn about Integration Testing.