microsoft / microsoft/mu_basecore

[Feature]: DxeCore Host-Based Unit Test

Open
#666 1 comment 0 reactions 1 assignee Assigned to @TaylorBeebe View on GitHub
state:backlog type:feature-request urgency:low
Dominant language
C
Stars
290
Forks
187
Avg merge
1d 7h
Merged PRs (30d)
37

Description

### Feature Overview

DxeCore could use a dedicated host-based unit test for verifying routines within.

### Solution Overview

[MemoryProtectionUnitTestHost](https://github.com/microsoft/mu_basecore/blob/release/202302/MdeModulePkg/Core/Dxe/UnitTest/MemoryProtectionUnitTestHost.inf) is a copy of DxeCore and is testing some logic embedded within. This unit test should be renamed DxeCoreUnitTestHost so we can add new tests piecemeal.

### Alternatives Considered

It also may be worth investigating if gMock can be used to simplify this host-based test.

### Urgency

Low

### Are you going to implement the feature request?

I will implement the feature

### Do you need maintainer feedback?

No maintainer feedback needed

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.