Skip to content

Migrate templates' unit test projects in Blueprints xunit to v3 #2276

@jdnickell

Description

@jdnickell

Describe the feature

Upgrade the .NET template's test project dependencies from xUnit v2 to xUnit v3 to leverage the latest testing framework improvements, including better performance, enhanced assertion APIs, and continued support. See https://xunit.net/docs/getting-started/v3/whats-new.

Use Case

The template generates a project with an old version and in this case, updating packages does not catch it because v3 is a different package name. xunit.runner.visualstudio is already updated likely because it didn't require a different package reference. One reference for example.

Proposed Solution

Update the template's test project .csproj file to reference xUnit v3 packages, see https://xunit.net/docs/getting-started/v3/migration.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS .NET SDK and/or Package version used

xunit (currently v2.9.3, upgrading to v3.0.0+)

Targeted .NET Platform

.net 10

Operating System and version

Any supported OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions