Skip to content

[New article]: Aspire.Hosting.Testing without a separate AppHost project #2534

Open
@ReubenBond

Description

@ReubenBond

Proposed topic or title

Using Aspire.Hosting.Testing without a separate AppHost project

Location in table of contents.

under testing

Reason for the article

In this PR, we added DistributedApplicationBuilder.Create APIs which do not need a reference to an existing 'AppHost' project. This lets developers test specific scenarios without needing to create a new 'AppHost' project for each scenario. We use this extensively internally via an internal wrapper API, TestDistributedApplicationBuilder.Create.

Article abstract

Learn how to test a subset of your application using an ad-hoc DistributedApplicationTestingBuilder.

Relevant searches

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⌚ Not TriagedNot triageddoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions