More

    INTRODUCTION TO INTEGRATION TESTS

    Integration testing (sometimes called integration and testing) is the phase in software testing in which individual software modules are combined and tested as a group. It occurs after unit testing and before validation testing.

    Integration testing takes as its input modules that have been unit tested, groups them in larger aggregates, applies tests defined in an integration test plan to those aggregates, and delivers as its output the integrated system ready for system testing.

    Below are the different types of unit tests according to Wikipedia:

    1. Big-bang approach
      1. Most of the developed modules are coupled together to form a complete software or major part of the system and then used for integration testing.
      2. This method is very effective for saving time in the integration testing process. However, if the test cases and their results are not recorded properly, the entire integration process will be more complicated and time consuming.
    2. Bottom-up testing
      1. Is an approach to integration testing where the lowest level components are tested first, then next level until the topmost level is tested.
      2. This method helps to determine the levels of software developed. However this approach is useful only when all or most of the modules of the same development level are ready.
    3. Top-down testing
      1. Is an approach to integrated testing where the top integrated modules are tested and the branch of the module is tested step by step until the end of the related module.
    4. Sandwich testing
      1. Is an approach to combine top down testing with bottom up testing.

    Integration Test vs. Unit Test

    Integration tests may use one or more of real dependencies of the units they test. Unit tests should not have any real dependency. It should only test one unit at a time. They are fully isolated and run independent of other tests.

    Popular integration testing frameworks or helper libraries in Java

    1. Cucumber
    2. Selenium (for Java UI Testing)
    3. Spock Framework
    4. You can also make use of frameworks and libraries listed under unit testing: JUnit, TestNG, DBUnit, Spring Test, Mockito.

    REFERENCES:

    https://en.wikipedia.org/wiki/Integration_testing

    Recent Articles

    OAUTH – FREQUENTLY ASKED QUESTIONS FOR INTERVIEWS AND SELF EVALUATION

    Why is refresh token needed when you have access token? Access tokens are usually short-lived and refresh tokens are...

    SUMO LOGIC VIDEOS AND TUTORIALS

    Sumo Logic Basics - Part 1 of 2 (link is external) (Sep 29, 2016)Sumo Logic Basics - Part 2 of 2...

    GIT – USEFUL COMMANDS

    Discard all local changes, but save them for possible re-use later:  git stash Discarding local changes...

    DISTRIBUTED COMPUTING – RECORDED LECTURES (BITS)

    Module 1 - INTRODUCTION Recorded Lecture - 1.1 Introduction Part I – Definition

    BOOK REVIEW GUIDELINES FOR COOKBOOKS

    Whenever you add reviews for the book, please follow below rules. Write issues in an excel.Create an excel...

    Related Stories

    Leave A Reply

    Please enter your comment!
    Please enter your name here

    Stay on op - Ge the daily news in your inbox