Skip to content

[Epic] dotnet test works for .NET MAUI projects #34433

@jonathanpeppers

Description

@jonathanpeppers

Description

Background:

I'm filing this here as a way to track work across different repos, and have an epic that is specific to dotnet test.

  • dotnet/sdk
    • Add $(TargetFramework) selection like dotnet run
    • Add --device selection like dotnet run
  • dotnet/android
  • dotnet/macios
    • iostest project template, you can dotnet run it
    • Add an MTP test adapter, where mlaunch forwards tests from iOS. dotnet test works on iOS.
  • dotnet/maui
    • Add a cross-platform mauitest project template
  • dotnet/skills
    • The "MAUI doctor" skill knows how to check if MTP is enabled and fix if not.
    • Some instruction somewhere, should be explicit that dotnet test works for .NET MAUI test projects
  • Future (needs more spec work)
    • Make sure dotnet test telemetry works (or if it needs expanded)
    • Make sure dotnet test "extensions" work, such as the Azure DevOps extension
    • Code coverage (another extension)

(Public) API Changes

None

Usage Scenarios

dotnet new mauitest
dotnet test

Then something amazon happens!

xharness might not be needed for many scenarios:

Backward Compatibility

n/a

Difficulty

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    EpicGroups multiple user stories. Can be grouped under a theme.proposal/opens/triagedIssue has been reviewed

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions