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

Explain what the aspire testing framework is for and how it works #2721

Open
davidfowl opened this issue Mar 4, 2025 · 0 comments · May be fixed by #2785
Open

Explain what the aspire testing framework is for and how it works #2721

davidfowl opened this issue Mar 4, 2025 · 0 comments · May be fixed by #2785
Assignees
Labels
doc-enhancement Improve the current content [org][type][category] in-pr okr-quality Content-health KR: Concerns article defects/freshness or build warnings. 🗺️ reQUEST Triggers an issue to be imported into Quest.

Comments

@davidfowl
Copy link
Member

There's lots of confusion as to what the aspire testing support provides. We need to explain what aspire testing is for and when to use it.

dotnet/aspire#7877

Aspire’s testing capabilities are for black box testing your entire distributed application, not for writing unit tests or doing white box integration testing. If you want to run your single project in memory and stub out the database then continue to use web application factory.

If you want to use a real database and talk to your API to make sure data is persisted into the real Postgres database then aspire testing is the way to go.

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Mar 4, 2025
@IEvangelist IEvangelist self-assigned this Mar 11, 2025
@IEvangelist IEvangelist added 🗺️ reQUEST Triggers an issue to be imported into Quest. doc-enhancement Improve the current content [org][type][category] okr-quality Content-health KR: Concerns article defects/freshness or build warnings. and removed ⌚ Not Triaged Not triaged labels Mar 11, 2025
@dotnetrepoman dotnetrepoman bot added 🗺️ mapQUEST Only used as a way to mark an issue as updated. RepoMan should instantly remove it. and removed 🗺️ mapQUEST Only used as a way to mark an issue as updated. RepoMan should instantly remove it. labels Mar 11, 2025
IEvangelist added a commit to IEvangelist/docs-aspire that referenced this issue Mar 11, 2025
@IEvangelist IEvangelist linked a pull request Mar 11, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement Improve the current content [org][type][category] in-pr okr-quality Content-health KR: Concerns article defects/freshness or build warnings. 🗺️ reQUEST Triggers an issue to be imported into Quest.
Projects
Status: 🔖 Ready
Development

Successfully merging a pull request may close this issue.

2 participants