Skip to content

[infra] Implement XHarness test discovery/running without the XunitFrontController #91871

Closed
dotnet/xharness
#1554

Description

@kotlarmilos

Description

Native AOT doesn't support loading a test assembly from disk. To run the library tests on apple mobile platforms with Native AOT, it is required to implement the XHarness test discovery/running without the XunitFrontController, similar to the ThreadlessXunitRunner in XHarness or SingleFileTestRunner in the runtime.

Repro steps

  1. Checkout to the https://github.com/kotlarmilos/runtime/tree/feature/nativeaot-library-tests
  2. Run the tests using the command below.
./build.sh -ci -arch arm64 -os ios -s libs.tests -c Release /p:ArchiveTests=true /p:RunSmokeTestsOnly=true /p:DevTeamProvisioning=- /p:BuildTestsOn=local /p:UseNativeAOTRuntime=true /p:RunAOTCompilation=false /p:ContinuousIntegrationBuild=true  /p:BuildDarwinFrameworks=true /bl

Activity

  1. ghost added
    needs-area-label
    on Sep 11, 2023
  2. ghost added
    untriaged
    on Sep 11, 2023
  3. added
    os-ios
    and removed
    untriaged
    needs-area-label
    on Sep 11, 2023
  4. added this to the 9.0.0 milestone on Sep 11, 2023
  5. changed the title [-]Implement XHarness test discovery/running without the XunitFrontController[/-] [+][infra] Implement XHarness test discovery/running without the XunitFrontController[/+] on Sep 11, 2023
  6. self-assigned this
    on Feb 14, 2024
  7. modified the milestones: 9.0.0, 10.0.0 on Jul 30, 2024
  8. modified the milestones: 10.0.0, Future on Jun 19, 2025
  9. locked and limited conversation to collaborators on Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions