Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Version History

Brian Gatt edited this page Nov 2, 2017 · 18 revisions

Version History

The version history is presented in descending order (i.e. the latest version updates are presented at the top of the page)


Version 1.0.9

Enhancements:

  • Added Boost version identification.
  • Added One test batch strategy (available as part of Boost.Test in Boost 1.63).
  • Suppress blocking assertion message boxes for test execution.
  • Added Boost 1.64, Boost 1.65 support.
  • Removed dependency over the need of debug symbols (PDB files).
  • Identify test adapter execution through BUTA environment variable.

Bug fixes:

  • Support file paths which utilise characters from system (native) encoding.
  • Harden --list_content=DOT execution and react to process exit code.
  • Improve test adapter reaction to exceptional cases and note errors as test failures.

Contributions/Special Thanks:

  • @gastart - BUTA environment variable red pill
  • @LukaszMendakiewicz - Boost 1.64, Boost 1.65 support

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.60 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2015 (Community, Professional, Enterprise).

Note:


Version 1.0.8

Breaking changes:

  • Dropped support for Visual Studio 2012 and Visual Studio 2013.
  • Dropped support for Boost 1.59 and less.
  • Dropped test discovery option via source code parsing. Tests are enumerated only via the DOT report increasing the overall robustness and correctness of the test discovery. A warning is also issued in case the command --list_content=DOT is not available.

Enhancements:

  • When using custom PATH environment, default PATH is no longer prepended.
  • Filename is evaluated so as to allow the custom injection of custom command-line arguments.
  • Added Boost 1.62 support.
  • Removed the usage of the label trait so that multiple labels can be attributed to one test.
  • Fixed symbol options to allow proper reading from release PDBs built using Visual Studio 2015 Update 3.
  • Enhanced job management so as to ensure that cancelled test executions also cancel the currently running test.
  • Added hyper linkable error stack trace.
  • When relative paths are used, test navigation from the test explorer is not available, so logger output has been added so as to warn user that relative paths are in use.
  • Enforced backward slashes for the working directory, that was causing the debugger to not launch.
  • Fixed installation failure when a .NET framework version is higher than 4.5.
  • Discovery timeout increased from a default of 5 seconds to 30 seconds.
  • Add <PostTestDelay> option.

Contributions/Special Thanks:

  • Daniel Bonanno - Removal of Visual Studio 2012, 2013 support. Removal of Boost 1.59 support. Hyperlink-able stack trace.
  • @Flamefire - Fix path separators.
  • @mwu-tow - Overwrite PATH variable appropriately.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.60 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2015 (Community, Professional, Enterprise).

Version 1.0.7

Bug fixes:

  • Better handling for cases when Boost Test report is not available.
  • Memory leak reports are now scanned from standard error.
  • Fix line number offsets when multi-line string literals are defined.
  • Assume BOOST_VERSION macro.

New features:

  • Environment specified in project properties are now taken into consideration for test discovery/exectution.
  • Working Directory specified in project properties are now taken into consideration for test discovery/exectution.
  • Support for --list_content=DOT test discovery.
  • Test labels are now exposed as test traits.

Enhancements:

  • Better formatting and handling for test context information.

Breaking changes:

  • Boost Test adapter now takes into consideration the Working Directory as specified in the Debugging section of the project properties.

Contributions/Special Thanks:

  • @GChiao - Access environment variables and working directory from Visual Studio instance. Place files in temporary directory.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).
    • Visual Studio 2015 (Community, Professional, Enterprise).

Version 1.0.6

Bug fixes:

  • Added more robust handling of any invalid characters (such as the Control characters) that might be present in the XML files generated by certain versions of the Boost Unit Test framework and that are then consumed by the Boost Unit Test Adapter in order to display the test results in the Test explorer window.
  • Fix report and log XML format request for Boost 1.60.

New features:

  • Added configuration element <CatchSystemErrors> in the .runsettings file so as to support the functionality made available by the catch system errors parameter in the Boost Unit Test Framework.
  • Allow for configurable test execution. Tests can be batched depending on the <TestBatchStrategy> configuration element specified in the .runsettings file.
  • Experimental support for --list_content test discovery.

Enhancements:

  • Optimized the speed of the String literals filter algorithm.
  • Optimized the Boost Test Keywords search algorithm so as to permit faster test discovery.
  • Harden external test runner discovery. Tests can also be filtered by path.
  • Allow BOOST_TEST_ declarations to span over multiple lines.

Contributions/Special Thanks:

  • @sergegers - Fix report and log XML format request for Boost 1.60, Allow BOOST_TEST_ declarations to span over multiple lines.
  • @teajay-fr - Harden external test runner discovery.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).
    • Visual Studio 2015 (Community, Professional, Enterprise).

Version 1.0.5.0

Bug fixes:

  • Property 'CreateNoWindow' of 'ProcessStartInfo' is set to true, as to avoid having command-prompt windows popping up when running tests in Visual Studio 2015.
  • The test execution time is set to be at least 1 tick long (because when the test execution time is very low Boost UTF does not register it) so that a successfully executed test is properly listed in the adapter.

Build changes:

  • The packages directory has been removed from source control and put under the control of NuGet (Nuget version 2.8.5 or later has to be utilized on the development machine).

Contributions/Special Thanks:

  • @mwu-tow - The packages directory has been removed from source control and put under the control of NuGet.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).
    • Visual Studio 2015 (Community, Professional, Enterprise).

Version 1.0.4.0

Misc:

  • A major code re-factoring activity has been done.
  • Released code as open source

New features:

  • In the previous versions of the Boost Unit Test Adapter, there was no reporting with respect to memory leaks. The memory leaks information reported by Boost Unit Test Framework is now being parsed and reported to the user. The user is also given the possibility to fail a test if any memory leaks are discovered via a user settable option.
  • In the previous versions only the last test result of a particular unit test was reported back to the user. In this new version, the user is able to see all the test results respective to a test.
  • All the output (being what is commonly referred to as stdout and stderr) generated by a unit test is reported into an output screen accessible at unit test level.
  • Any exceptions raised by the Boost Unit Test Adapter itself and any informational logs are now logged to a log file.
  • Added support for nested test suites. The user is able to deduce the nesting level via the naming of the testcase as presented in the test explorer.
  • Replaced and updated the user manual which was previously in a pdf format to one written in a GitHub flavoured markdown format.
  • The user can now specify an execution timeout. If a test takes more than a configurable amount of time, the test is considered as failed.
  • Conditional Inclusions statements such as #if....#elif....#else....#endif, #ifdef, #if defined, #ifndef, #if !defined are now supported with some limitations on the conditional complexity.
  • Filtering for multi-line comments and single line comments are now much more robust.
  • Created a Boost External Test Runner so that users can execute Boost Unit test project compiled as a dynamic link library.
  • Added support to Microsoft Visual Studio 2015 RC.
  • Added support that in case a source file is excluded from build the source file is not parsed for any Boost Unit Tests.
  • Header files are now also parsed for Boost Unit Tests.

Contributions/Special Thanks:

  • @gastart - Improved source code/pre-processor parsing, Memory leak detection/reporting, Documentation

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).
    • Visual Studio 2015 (Community, Professional, Enterprise).

Version 0.9.4 (Beta 5)

Bug fixes:

  • Previous version has not been working with Visual Studio 2012. Issue is now fixed.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).

Version 0.9.3 (Beta 4)

Misc:

  • In the output window of Visual Studio, the currently executed unit test is now shown.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).

Version 0.9.2 (Beta 3)

Bug fixes:

  • Known limitation from Version 0.9.1 (Beta 3) is fixed by catching the COMException "Application is Busy" and retrying several times. Only if all retries have failed, the COMException will be thrown. A sufficient number of retries shall avoid this issue.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).

Version 0.9.1 (Beta 3)

Bug fixes:

  • When a test case cannot be executed at all (possibly due to incorrect usage or parsing problems), the add-in crashed and no other unit test could be executed any more. Now any occurrence of exception during of the execution of unit tests are handled and written to the output window of Visual Studio.

Known Limitation:

  • In case unit tests are not shown in the text explorer of Visual Studio, rebuild the solution/project.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).

Version 0.9 (Beta 3)

Features:

  • Support for Microsoft Visual Studio 2013 added.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).
    • Visual Studio 2013 (Professional, Premium, Ultimate).

Version 0.8 (Beta 2)

Features:

  • Support for BOOST_FIXTURE_TEST_SUITE and BOOST_FIXTURE_TEST_CASE macros.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.7 (Beta 1)

Features:

  • now displaying unit tests when 64-bit is selected as platform.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.6.3 (ALPHA 6)

Bug Fixes:

  • targetver.h, that has been removed from the project template in the previous version, has been added again.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.6.2 (ALPHA 6)

Bug Fixes:

  • A mechanism that is supposed to ignore inactive code within the pattern /*... */ did not work properly. Whenever using this pattern, not a single unit test has been discovered. This is now fixed.

  • The XML output mechanism has been changed: instead of piping the test results to a file via standard output, the boost mechanism is used (--log_sink=, --report_sink=). It is now possible to use std::cout in unit tests without affecting the test results (e.g. by using special characters like &, …).

    Pre-Requisites:

    • Boost Libraries. The following versions are supported:
      • Boost 1.49 and greater
    • Microsoft Visual Studio. The following versions are supported:
      • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.6.1 (ALPHA 6)

Bug Fixes:

  • XML output file will be overwritten when having more than one unit test project. This is now fixed by writing unique xml files for each project in the solution.
  • Final bug fix: for target names different from the project name unit tests have not been displayed in the test explorer so far.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.5.4 (ALPHA 5)

Features:

  • Debug unit tests using the VS2012 Test Explorer Window.

Bug Fixes:

  • Adjusted the project settings of the template project (C/C++ -> Advanced -> Use Full Paths -> Yes (/FC))
  • When Visual studio projects are structured in solution folders, the extension now recognizes all tests.
  • When the number of test cases to be run exceeds 30, the Boost Unit Test Adapter does not throw an exception anymore.
  • For target names different from the project name unit tests have not been displayed in the test explorer so far. This is now fixed.

Misc:

  • Project template modified (file containing target version removed).

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.4 (ALPHA 4)

Features:

  • Support for the BOOST_AUTO_TEST_CASE_TEMPLATE macro.

Bug Fixes:

  • When changing the output directory individually, the Boost Unit Test Adapter can now discover the unit test cases and does not throw an exception.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.3 (ALPHA 3)

Bug Fixes:

  • If a test case is commented out by /*…*/, the adapter does now ignore this test case and does not display or execute it any-more. Also, an exception is not thrown any-more.
  • If a test case containing the macro BOOST_CHECK_THROW fails, an additional empty line has been displayed below the error reason. This it now fixed.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.2 (ALPHA 2)

Bug Fixes:

  • If a Boost Unit Test project is structured in a folder, the Boost Unit Test Adapter does now recognize the unit tests.
  • When "creating" memory leaks (accidentally, for instance) the Unit Test Adapter does not throw an exception.
  • In the test explorer, error message provided by BOOST is displayed when using the macro BOOST_CHECK_THROW().
  • When installing the Boost Unit Test Adapter directly from Visual Studio (go to Tools -> Extensions and Updates-> Online and search for term Boost), the Unit test adapter gets installed without any error.

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).

Version 0.1 (ALPHA 1)

Features:

  • Display of test cases
  • Run all test cases
  • Failed test details
  • Finding test case location in source
  • Running selective test cases
  • Search for a test case

Pre-Requisites:

  • Boost Libraries. The following versions are supported:
    • Boost 1.49 and greater
  • Microsoft Visual Studio. The following versions are supported:
    • Visual Studio 2012 Update 3 (Professional, Premium, Ultimate).