Changes between Version 4 and Version 5 of Projects/GSoC/TestingReview/Google_Test_and_Google_Mock


Ignore:
Timestamp:
Jul 8, 2012, 9:26:29 AM (7 years ago)
Author:
Xiaochen Pan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Projects/GSoC/TestingReview/Google_Test_and_Google_Mock

    v4 v5  
    11= TestingReview/Google Test and Google Mock =
     2
     3= General Comparison =
    24
    35
    46Google Test is unit testing framework conforming to xUnit architecture. Google Mock is a library that can be used to provide mocking functionality to Google Test and other C++ testing frameworks as well. They can be used in combination for host based testing.
    57
    6 + By defining a strict test format, Google Test supports automatic test discovery.
     8 * By defining a strict test format, Google Test supports automatic test discovery.
    79
    8 + Google Test distinguishes fatal and non-fatal failures, which is not provided by most test frameworks.
     10 * Google Test distinguishes fatal and non-fatal failures, which is not provided by most test frameworks.
    911
    10 + Google Test  provides a rich set of assertions, and even user-defined assertions for more readable tests results display. It has provided three flexible ways for user to define custom assertions, using existing boolean functions, use AssertionResult object, and using Predicate-formatter to further customize error messages.
     12 * Google Test  provides a rich set of assertions, and even user-defined assertions for more readable tests results display. It has provided three flexible ways for user to define custom assertions, using existing boolean functions, use AssertionResult object, and using Predicate-formatter to further customize error messages.
    1113
    12 + Google Test provides a mechanism to verify that unit tests fails or exit with right exit code or error message.
     14 * Google Test provides a mechanism to verify that unit tests fails or exit with right exit code or error message.
    1315
    14 + Google Test supports parameterized tests, which can be very convenient in tests automation.
     16 * Google Test supports parameterized tests, which can be very convenient in tests automation.
    1517
    16 + Test error propagation options have made it possible to write complicated unit tests with subroutines. In detail, this option has made it possible to avoid memory corruption due to subroutine error and thus to avoid causing the other tests which have called the subroutine to go unexpected.
     18 * Test error propagation options have made it possible to write complicated unit tests with subroutines. In detail, this option has made it possible to avoid memory corruption due to subroutine error and thus to avoid causing the other tests which have called the subroutine to go unexpected.
    1719
    18 + It also supports various options for running the tests,for example, tests repetition, independent tests running, tests shuffling.
     20 * It also supports various options for running the tests,for example, tests repetition, independent tests running, tests shuffling.
    1921
    20 + It supports XML test report generation.
     22 * It supports XML test report generation.
    2123
    22 + Google Mock provides a flexible mocking interface to Google Test and other C++ frameworks.
     24 * Google Mock provides a flexible mocking interface to Google Test and other C++ frameworks.
     25= Host-based Test Result =