Skip to content

Commit

Permalink
Upgrade Doctest and GoogleTest testing frameworks to the latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Aug 1, 2024
1 parent aea9075 commit eeb5ac4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test-driven methodologies, and modern toolchains for unrivaled success.
6.1.16 (2024-??-??)
~~~~~~~~~~~~~~~~~~~

* Upgraded the `Unity <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/unity.html>`__ testing framework to version 2.6.0, incorporating the latest features and improvements for enhanced testing capabilities
* Upgraded the `Doctest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html>`__ testing framework to version 2.4.11, the `GoogleTest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/doctest.html>`__ to version 1.15.2, and the `Unity <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/unity.html>`__ to version 2.6.0, incorporating the latest features and improvements for enhanced testing capabilities
* Corrected an issue where the incorrect public class was imported for the ``DoctestTestRunner`` (`issue #4949 <https://github.com/platformio/platformio-core/issues/4949>`_)

6.1.15 (2024-04-25)
Expand Down
2 changes: 1 addition & 1 deletion platformio/test/runners/doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _parse_assert(self, line):


class DoctestTestRunner(TestRunnerBase):
EXTRA_LIB_DEPS = ["doctest/doctest@^2.4.9"]
EXTRA_LIB_DEPS = ["doctest/doctest@^2.4.11"]

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down
2 changes: 1 addition & 1 deletion platformio/test/runners/googletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _parse_source_and_message(self, stdout):


class GoogletestTestRunner(TestRunnerBase):
EXTRA_LIB_DEPS = ["google/googletest@^1.12.1"]
EXTRA_LIB_DEPS = ["google/googletest@^1.15.2"]

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand Down

0 comments on commit eeb5ac4

Please sign in to comment.