Skip to content

Move Built-in marshalling tests to use DNNE and live under the System.RuntimeInteropServices test tree #84451

Open
@jkoritzinsky

Description

@jkoritzinsky

To simplify the testing strategy for LibraryImportGenerator, we utilized the DNNE package to enable writing the "unmanaged" side of the tests in C#. For our tests under src/tests/Interop that are only testing our built-in marshalling logic, we should consider moving these tests to utilize DNNE as well and live under the libraries test tree. This change will help us reduce how many tests we own under src/tests.

We will keep tests under src/tests/Interop that test interactions with native code that we can't safely validate with a managed implementation (because "both sides" of the managed code could be wrong), such as calling convention tests or primitive/native intrinsic type marshalling tests. We should also exclude moving tests that integrate tightly with platform features or use a custom app launcher to have the test start from native code, like the COM and Objective-C tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions