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

Additional template tests #8149

Open
1 of 4 tasks
radical opened this issue Mar 18, 2025 · 4 comments
Open
1 of 4 tasks

Additional template tests #8149

radical opened this issue Mar 18, 2025 · 4 comments

Comments

@radical
Copy link
Member

radical commented Mar 18, 2025

Tests are needed for these missing cases:

  • --aspire-version parameter
  • --xunit-version <v2|v3|v3mtp> parameter
  • ServiceDefaults project template
  • AppHost project template

cc @joperezr @DamianEdwards @RussKie

@RussKie
Copy link
Member

RussKie commented Mar 18, 2025

What's the procedure for testing the templates?

@radical
Copy link
Member Author

radical commented Mar 18, 2025

See tests/Aspire.Workload.Tests/README.md. Essentially:

  1. build with packages: ./build.sh -pack
  2. Install a sdk for testing: dotnet build tests/workloads.proj
  3. Run tests from tests/Aspire.Workload.Tests

@danmoseley
Copy link
Member

Ok this is me - i had blanked on there being tests.

@danmoseley danmoseley self-assigned this Mar 18, 2025
@radical
Copy link
Member Author

radical commented Mar 19, 2025

I added ServiceDefaults, and AppHost project templates to the list. cc @RussKie should be a good way to get into the templates tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants