CHANGES 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. Changes for 1.7.0:
  2. * New feature: death tests are supported on OpenBSD and in iOS
  3. simulator now.
  4. * New feature: Google Test now implements a protocol to allow
  5. a test runner to detect that a test program has exited
  6. prematurely and report it as a failure (before it would be
  7. falsely reported as a success if the exit code is 0).
  8. * New feature: Test::RecordProperty() can now be used outside of the
  9. lifespan of a test method, in which case it will be attributed to
  10. the current test case or the test program in the XML report.
  11. * New feature (potentially breaking): --gtest_list_tests now prints
  12. the type parameters and value parameters for each test.
  13. * Improvement: char pointers and char arrays are now escaped properly
  14. in failure messages.
  15. * Improvement: failure summary in XML reports now includes file and
  16. line information.
  17. * Improvement: the <testsuites> XML element now has a timestamp attribute.
  18. * Improvement: When --gtest_filter is specified, XML report now doesn't
  19. contain information about tests that are filtered out.
  20. * Fixed the bug where long --gtest_filter flag values are truncated in
  21. death tests.
  22. * Potentially breaking change: RUN_ALL_TESTS() is now implemented as a
  23. function instead of a macro in order to work better with Clang.
  24. * Compatibility fixes with C++ 11 and various platforms.
  25. * Bug/warning fixes.
  26. Changes for 1.6.0:
  27. * New feature: ADD_FAILURE_AT() for reporting a test failure at the
  28. given source location -- useful for writing testing utilities.
  29. * New feature: the universal value printer is moved from Google Mock
  30. to Google Test.
  31. * New feature: type parameters and value parameters are reported in
  32. the XML report now.
  33. * A gtest_disable_pthreads CMake option.
  34. * Colored output works in GNU Screen sessions now.
  35. * Parameters of value-parameterized tests are now printed in the
  36. textual output.
  37. * Failures from ad hoc test assertions run before RUN_ALL_TESTS() are
  38. now correctly reported.
  39. * Arguments of ASSERT_XY and EXPECT_XY no longer need to support << to
  40. ostream.
  41. * More complete handling of exceptions.
  42. * GTEST_ASSERT_XY can be used instead of ASSERT_XY in case the latter
  43. name is already used by another library.
  44. * --gtest_catch_exceptions is now true by default, allowing a test
  45. program to continue after an exception is thrown.
  46. * Value-parameterized test fixtures can now derive from Test and
  47. WithParamInterface<T> separately, easing conversion of legacy tests.
  48. * Death test messages are clearly marked to make them more
  49. distinguishable from other messages.
  50. * Compatibility fixes for Android, Google Native Client, MinGW, HP UX,
  51. PowerPC, Lucid autotools, libCStd, Sun C++, Borland C++ Builder (Code Gear),
  52. IBM XL C++ (Visual Age C++), and C++0x.
  53. * Bug fixes and implementation clean-ups.
  54. * Potentially incompatible changes: disables the harmful 'make install'
  55. command in autotools.
  56. Changes for 1.5.0:
  57. * New feature: assertions can be safely called in multiple threads
  58. where the pthreads library is available.
  59. * New feature: predicates used inside EXPECT_TRUE() and friends
  60. can now generate custom failure messages.
  61. * New feature: Google Test can now be compiled as a DLL.
  62. * New feature: fused source files are included.
  63. * New feature: prints help when encountering unrecognized Google Test flags.
  64. * Experimental feature: CMake build script (requires CMake 2.6.4+).
  65. * Experimental feature: the Pump script for meta programming.
  66. * double values streamed to an assertion are printed with enough precision
  67. to differentiate any two different values.
  68. * Google Test now works on Solaris and AIX.
  69. * Build and test script improvements.
  70. * Bug fixes and implementation clean-ups.
  71. Potentially breaking changes:
  72. * Stopped supporting VC++ 7.1 with exceptions disabled.
  73. * Dropped support for 'make install'.
  74. Changes for 1.4.0:
  75. * New feature: the event listener API
  76. * New feature: test shuffling
  77. * New feature: the XML report format is closer to junitreport and can
  78. be parsed by Hudson now.
  79. * New feature: when a test runs under Visual Studio, its failures are
  80. integrated in the IDE.
  81. * New feature: /MD(d) versions of VC++ projects.
  82. * New feature: elapsed time for the tests is printed by default.
  83. * New feature: comes with a TR1 tuple implementation such that Boost
  84. is no longer needed for Combine().
  85. * New feature: EXPECT_DEATH_IF_SUPPORTED macro and friends.
  86. * New feature: the Xcode project can now produce static gtest
  87. libraries in addition to a framework.
  88. * Compatibility fixes for Solaris, Cygwin, minGW, Windows Mobile,
  89. Symbian, gcc, and C++Builder.
  90. * Bug fixes and implementation clean-ups.
  91. Changes for 1.3.0:
  92. * New feature: death tests on Windows, Cygwin, and Mac.
  93. * New feature: ability to use Google Test assertions in other testing
  94. frameworks.
  95. * New feature: ability to run disabled test via
  96. --gtest_also_run_disabled_tests.
  97. * New feature: the --help flag for printing the usage.
  98. * New feature: access to Google Test flag values in user code.
  99. * New feature: a script that packs Google Test into one .h and one
  100. .cc file for easy deployment.
  101. * New feature: support for distributing test functions to multiple
  102. machines (requires support from the test runner).
  103. * Bug fixes and implementation clean-ups.
  104. Changes for 1.2.1:
  105. * Compatibility fixes for Linux IA-64 and IBM z/OS.
  106. * Added support for using Boost and other TR1 implementations.
  107. * Changes to the build scripts to support upcoming release of Google C++
  108. Mocking Framework.
  109. * Added Makefile to the distribution package.
  110. * Improved build instructions in README.
  111. Changes for 1.2.0:
  112. * New feature: value-parameterized tests.
  113. * New feature: the ASSERT/EXPECT_(NON)FATAL_FAILURE(_ON_ALL_THREADS)
  114. macros.
  115. * Changed the XML report format to match JUnit/Ant's.
  116. * Added tests to the Xcode project.
  117. * Added scons/SConscript for building with SCons.
  118. * Added src/gtest-all.cc for building Google Test from a single file.
  119. * Fixed compatibility with Solaris and z/OS.
  120. * Enabled running Python tests on systems with python 2.3 installed,
  121. e.g. Mac OS X 10.4.
  122. * Bug fixes.
  123. Changes for 1.1.0:
  124. * New feature: type-parameterized tests.
  125. * New feature: exception assertions.
  126. * New feature: printing elapsed time of tests.
  127. * Improved the robustness of death tests.
  128. * Added an Xcode project and samples.
  129. * Adjusted the output format on Windows to be understandable by Visual Studio.
  130. * Minor bug fixes.
  131. Changes for 1.0.1:
  132. * Added project files for Visual Studio 7.1.
  133. * Fixed issues with compiling on Mac OS X.
  134. * Fixed issues with compiling on Cygwin.
  135. Changes for 1.0.0:
  136. * Initial Open Source release of Google Test