An approach to integration testing

An approach to integration testing

I'm working as an IT engineer and I have a software integration testing question. I have very low-level requirements which match directly to a function or some statements of function -- that is, a group of requirements matches to one function. I want to do software integration testing for the above requirements. Can you please suggest to me how integration testing is possible? I want to know the testing approach.

    Requires Free Membership to View

    When you register, you'll receive targeted emails designed to keep you informed of the most relevant information on Agile development, application security, testing & QA, software requirements, and more.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSoftwareQuality.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSoftwareQuality.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

One of the fundamental ideas for integration testing is the idea of disagreement between various parts of the system.

John Overbaugh answered a very similar question to this one, "How to do integration testing." His is a bit more general, but he addresses the key issue right up front -- "integration testing means completely different things to completely different companies." I might even extend that to say that I've found it to mean different things to people within the same company and sometimes on the same team. Without knowing the specifics of your situation and what you mean when you say integration testing, it's difficult to give you an answer at the level of detail you might be expecting.

When talking about your question with Dale Emery, Dale pointed out that for him, one of the fundamental ideas for integration testing is the idea of disagreement between various parts of the system. That is, if we believe part X does its specific function well (hopefully based on some level of unit testing) and part Y does its specific function well, then when we put them together and test we're looking for ways in which there is conflict or unintended consequences between the two. The less certain we are about the different parts we'll be testing, or the lower our confidence in how those two parts will interact, the more integration testing we might want to do.

Software testing help:
Functional testing: Unit testing, integration testing and beyond

User acceptance testing vs. system integration testing

Unit, integration testing first steps toward SOA quality

In your specific case, what that might mean is that you need to do some level of unit testing for the functions involved based on your low-level requirements. Once that's completed, look at the requirements that span functions and require some level of integration testing. Anticipate how you'd exercise the software to get the behavior you'd need to see to test those requirements. Once you've looked at all the requirements, think about what "disagreements" or conflicts there might be between the functions involved and test for those conflicts.

This was first published in September 2008