Skip to content

v0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@csoltenborn csoltenborn released this 04 Jul 18:23
  • enhancement: custom C++ macros for adding traits to tests are now variadic, allowing for up to 8 traits to be assigned to each test, and greatly reducing code duplication; see below for instructions on how to migrate your existing tests (#38)
  • enhancement: minor speed improvements during test execution; note that test adapter execution time while running tests is still dominated by registration of the test results with Visual Studio, see #15 (part of #52)
  • bugfix: ErrorMessageParser crashed if VS delivered null as the solution directory instead of an empty string (#54, thanks to cyrilbesse for report and pull request)
  • bugfix: Release notes didn't work properly (#53)
  • VS regression fixed: with update 2, the handling of test adapter options had been broken (Community and Professional edition). Update 3 fixes that problem (#50)
  • VS regression fixed: with update 2, registering test results with VS became very slow for large numbers of tests (all editions). Again, update 3 fixes that problem (#52)
Making use of the new test macros
  • Replace your existing GTA_Traits.h file(s) with the current one
  • Using search and replace, change your code to use the new macros:
    • TEST_TRAITS1(, TEST_TRAITS2(, TEST_TRAITS3( => TEST_TRAITS(
    • TEST_F_TRAITS1(, TEST_F_TRAITS2(, TEST_F_TRAITS3( => TEST_F_TRAITS(
    • TEST_P_TRAITS1(, TEST_P_TRAITS2(, TEST_P_TRAITS3( => TEST_P_TRAITS(
    • TYPED_TEST_TRAITS1(, TYPED_TEST_TRAITS2(, TYPED_TEST_TRAITS3( => TYPED_TEST_TRAITS(
    • TYPED_TEST_P_TRAITS1(, TYPED_TEST_P_TRAITS2(, TYPED_TEST_P_TRAITS3( => TYPED_TEST_P_TRAITS(