deployment-e2e-testing

Automate end-to-end deployment testing for Aspire applications on Azure.

6.2k|952|Updated Sep 25, 2023
One-click install
npx skills add https://github.com/dotnet/aspire --skill deployment-e2e-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-e2e-testing
Source: https://github.com/dotnet/aspire/tree/main/.github/skills/deployment-e2e-testing
Command: npx skills add https://github.com/dotnet/aspire --skill deployment-e2e-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill standardizes and automates end-to-end deployment testing for Aspire applications on Azure.

Core Features & Use Cases

  • Supports CI/CD integration for nightly and manual test runs.
  • Automates project creation, deployment, verification of endpoints, and resource cleanup on Azure.
  • Provides guidance for writing, debugging, and maintaining deployment tests within Aspire projects.

Quick Start

Use this skill to orchestrate a deployment test for an Aspire project against Azure. The Quick Start demonstrates creating a resource group, deploying an app with aspire deploy, and cleaning up resources.

Frequently Asked Questions about deployment-e2e-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate end-to-end deployment testing for Aspire applications on Azure?

Aspire deployment testing on Azure automates creating resource groups, deploying apps with `aspire deploy`, verifying endpoints, and cleaning up resources via CI/CD pipelines or manual runs.

What is the best way to run Aspire deployment tests nightly in a CI/CD pipeline?

The best way to run Aspire deployment tests nightly is integrating this testing skill into your CI/CD pipelines using Azure OIDC authentication to automatically validate deployments and clean up Azure resources after verification.

Do I need Azure OIDC authentication to run Aspire end-to-end tests in CI?

Yes, Azure OIDC authentication is required for running Aspire end-to-end deployment tests in CI pipelines. For local manual runs, you can alternatively use `az login` to authenticate directly to your Azure environment.

Can I use the Hex1b terminal automation library to verify Azure deployment endpoints?

Yes, the Hex1b terminal automation library is required to automate and verify Azure deployment endpoints. It drives the terminal commands needed to interact with the Aspire deployment-test project structure during testing.

How does automated resource cleanup work after verifying an Aspire deployment on Azure?

Automated resource cleanup works by deleting the Azure resource groups created during the Aspire deployment test after endpoint verification completes, ensuring no orphaned cloud resources remain and keeping testing costs minimal.

What limitations should I consider when writing deployment tests for Aspire projects?

You must ensure your Aspire project maintains a deployment-test project structure under `tests/Aspire.Deployment.EndToEnd.Tests`, and you need proper Azure authentication configured, as tests cannot run without valid OIDC credentials or local `az login` access.