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

Update xunit to xunitv3 #7556

Closed
Zombach opened this issue Feb 12, 2025 · 5 comments
Closed

Update xunit to xunitv3 #7556

Zombach opened this issue Feb 12, 2025 · 5 comments
Labels
area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing area-templates

Comments

@Zombach
Copy link
Contributor

Zombach commented Feb 12, 2025

Can Aspire update the Xunit version to xunit.v3?
Also add to the project
Packs: "Autofixture.automoq" Version = "5.0-preview0012" Autofixture.xunit3 "Version ="5.0-preview0012"
For creating CustomAutoDataAttribute and use IFixture + moq

https://xunit.net/docs/getting-started/v3/whats-new

@davidfowl davidfowl added the area-engineering-systems infrastructure helix infra engineering repo stuff label Feb 12, 2025
@DamianEdwards
Copy link
Member

Is this about the templates or the source code in this repo? If templates, we have #7225 already.

@Zombach
Copy link
Contributor Author

Zombach commented Feb 14, 2025

Is this about the templates or the source code in this repo? If templates, we have #7225 already.

Yes, I already noticed. Thank you.
Then the question remains whether you can add and use packages:
Autofixture.xunit3
Autofixture.automoq
That in turn will raise the variability and quality of tests

@DamianEdwards
Copy link
Member

Sorry, are you asking about adding these to the test templates?

@Zombach
Copy link
Contributor Author

Zombach commented Feb 14, 2025

Sorry, are you asking about adding these to the test templates?

Yes

@DamianEdwards DamianEdwards added area-templates area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing and removed area-engineering-systems infrastructure helix infra engineering repo stuff labels Feb 14, 2025
@DamianEdwards
Copy link
Member

OK thanks for clarifying. Those packages seem to only have preview releases and have very low usage. I don't think they're good candidates for inclusion in the template. Folks are always free to add them to their projects.

@Zombach Zombach closed this as completed Feb 14, 2025
@DamianEdwards DamianEdwards closed this as not planned Won't fix, can't repro, duplicate, stale Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing area-templates
Projects
None yet
Development

No branches or pull requests

3 participants