Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ReubenBond opened this issue Jan 31, 2025 · 0 comments
Open
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] ⌚ Not Triaged Not triaged

Comments

@ReubenBond
Copy link
Member

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

@ReubenBond ReubenBond added the doc-idea Indicates issues that are suggestions for new topics [org][type][category] label Jan 31, 2025
@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] ⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

1 participant