<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/UnitTestFrameworkPkg/ReadMe.md, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-03-04T22:02:33+00:00</updated>
<entry>
<title>UnitTestFrameworkPkg: fix mdlint issues</title>
<updated>2026-03-04T22:02:33+00:00</updated>
<author>
<name>Sherry Fan</name>
<email>sherryfan@microsoft.com</email>
</author>
<published>2026-01-20T17:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fda4926b08dadaed995b471cfbe82b97512ebe6e'/>
<id>urn:sha1:fda4926b08dadaed995b471cfbe82b97512ebe6e</id>
<content type='text'>
Fix markdownlint formatting issues in README.

Signed-off-by: Sherry Fan &lt;sherryfan@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Remove references to GCC5 in ReadMe and dsc comments</title>
<updated>2026-02-26T15:30:52+00:00</updated>
<author>
<name>Mike Beaton</name>
<email>mjsbeaton@gmail.com</email>
</author>
<published>2026-01-24T16:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=5c8403f767eed55183c3b41fb829b08d1d3840af'/>
<id>urn:sha1:5c8403f767eed55183c3b41fb829b08d1d3840af</id>
<content type='text'>
Signed-off-by: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Fix spelling issues</title>
<updated>2025-12-20T18:49:01+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-12-07T02:18:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9013d867ae337aef91e88c479119955de070dc52'/>
<id>urn:sha1:9013d867ae337aef91e88c479119955de070dc52</id>
<content type='text'>
Add "uintn" to extended words in ci.yaml and fix typos.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Use /MTd and enable Address Sanitizers</title>
<updated>2025-01-21T05:02:38+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2024-10-22T07:28:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=de06288019e62ee563d6958fb0fb7d0ffb8a2e62'/>
<id>urn:sha1:de06288019e62ee563d6958fb0fb7d0ffb8a2e62</id>
<content type='text'>
* Update host based unit test VS20xx builds to use /MTd instead of
  /MT to enable use of debug libraries for host based unit tests.
* Enable /fsanitize=address for host based unit test VS2019 builds
* Enable /fsanitize=address for host based unit test VS2022 builds
* Enable -fsanitize=address for host based unit test GCC builds
* Add UNIT_TESTING_ADDRESS_SANITIZER_ENABLE define that is set to
  TRUE by default so it is always enabled, but can be set to FALSE
  to temporarily disable during development/debug of unit tests.
* Add address sanitizer information to ReadMe.md

Enabling the Address Sanitizer can detect double frees, buffer
overflow, buffer underflow, access to invalid addresses, and
various exceptions. These can be detected in both the unit test
case sources as well as the code under test.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>Update CI to VS2022</title>
<updated>2024-12-10T23:42:09+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2024-12-03T22:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1c5c951ec33b7851da67feeaf222d3edd6eb89be'/>
<id>urn:sha1:1c5c951ec33b7851da67feeaf222d3edd6eb89be</id>
<content type='text'>
This PR updates the CI pipelines to use VS2022 instead of VS2019
as that is the latest supported VS toolchain on edk2.

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Use TianoCore mirror of subhook submodule</title>
<updated>2024-11-04T19:56:43+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2024-11-04T18:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=95d8a1c255cfb8e063d679930d08ca6426eb5701'/>
<id>urn:sha1:95d8a1c255cfb8e063d679930d08ca6426eb5701</id>
<content type='text'>
Change subhook url from https://github.com/Zeex/subhook to
https://github.com/tianocore/edk2-subhook because old url is
no longer available.

Also align .gitmodules file to use consistent LF line endings.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg/SampleGoogleTest: Use EXPECT_ANY_THROW()</title>
<updated>2024-02-14T02:37:16+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2024-02-03T01:15:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0a989069df1f00f9ca1b6968c91c5c9bc01a0198'/>
<id>urn:sha1:0a989069df1f00f9ca1b6968c91c5c9bc01a0198</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4683

Update GoogleTest samples to use EXPECT_ANY_THROW() instead
of ASSERT_DEATH(). ASSERT_DEATH() is a very slow method to
detect an expected ASSERT() condition. Throwing an exception
from ASSERT() and using EXPECT_ANY_THROW() is several orders
of magnitude faster.

Update GoogleTest sample with example of using EXPECT_THROW()
and EXPECT_THAT() to check for more specific ASSERT() conditions
that allow unit test cases to test functions that contain
more than one ASSERT() statement and verify that the expected
ASSERT() is the one that was actually triggered.

Update library mappings so target-based unit tests use
UnitTestDebugAssertLib.inf and host-based unit tests use
UnitTestDebugAssertLibHost.inf

Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg/Readme.md: Remove gtest main() limitation</title>
<updated>2023-12-03T02:37:26+00:00</updated>
<author>
<name>Pedro Falcato</name>
<email>pedro.falcato@gmail.com</email>
</author>
<published>2023-11-30T22:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7182621edc67260a322fa0fb8bb4c8e398d9323e'/>
<id>urn:sha1:7182621edc67260a322fa0fb8bb4c8e398d9323e</id>
<content type='text'>
As of the previous commit, this limitation is no longer a thing.
You can now write gtest unit tests with multiple files and no need for
any hack such as #include.

Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Signed-off-by: Pedro Falcato &lt;pedro.falcato@gmail.com&gt;
Reviewed-by: Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg/ReadMe.md: Add gmock documentation</title>
<updated>2023-04-10T05:59:02+00:00</updated>
<author>
<name>Chris Johnson</name>
<email>chris.n.johnson@intel.com</email>
</author>
<published>2023-03-24T23:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e4af282e9f60940105023d6988aa1688a107494e'/>
<id>urn:sha1:e4af282e9f60940105023d6988aa1688a107494e</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4389

Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Chris Johnson &lt;chris.n.johnson@intel.com&gt;
Reviewed-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Oliver Smith-Denny &lt;osde@linux.microsoft.com&gt;
Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Add code coverage support for GCC</title>
<updated>2023-01-04T02:06:01+00:00</updated>
<author>
<name>Gua Guo</name>
<email>gua.guo@intel.com</email>
</author>
<published>2022-09-27T04:24:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3701f105fadad2bed438ababe4dfb41eda478cc4'/>
<id>urn:sha1:3701f105fadad2bed438ababe4dfb41eda478cc4</id>
<content type='text'>
In order to collect code coverage after running executable
file, generate *.gcda and *.gcno file that require by lcov tool
to generate code coverage report.

Reviewed-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Cc: Sean Brogan &lt;sean.brogan@microsoft.com&gt;
Cc: Bret Barkelew &lt;Bret.Barkelew@microsoft.com&gt;
Reviewed-by: Michael Kubacki &lt;mikuback@linux.microsoft.com&gt;
Signed-off-by: Gua Guo &lt;gua.guo@intel.com&gt;
</content>
</entry>
</feed>
