Integrate azd-core v0.2.0 and Extract Testing Utilities#26
Merged
Conversation
- Updated astro from 5.16.6 to 5.16.8 - Updated @playwright/test from 1.49.0 to 1.57.0 - Updated @types/node from 22.10.2 to 25.0.5 - Updated tailwindcss from 4.0.0 to 4.1.18 - Updated tsx from 4.19.2 to 4.21.0 - Updated typescript from 5.7.2 to 5.9.3 - Added new release entries for versions 0.2.30 and 0.2.29 in the changelog
- Created azd-core/testutil package with enhanced functionality. - Extracted CaptureOutput, FindTestData, TempDir, and Contains helpers. - Added comprehensive tests targeting ≥85% coverage. - Updated azd-core README with testutil documentation. feat: extract cliout package to azd-core for standardized CLI output - Created azd-core/cliout package with full output formatting functions. - Maintained Unicode detection, ANSI colors, and JSON mode. - Added tests targeting ≥80% coverage. - Updated azd-core README with cliout documentation. refactor: migrate azd-exec to use azd-core/testutil - Updated azd-exec to replace internal testhelpers with testutil. - Deleted internal testhelpers package. - Verified all tests pass with no regressions. refactor: migrate azd-app to use azd-core/testutil - Updated azd-app test infrastructure to utilize testutil. - Enhanced existing tests with CaptureOutput and Contains. - Verified all tests pass. refactor: migrate azd-app output to azd-core/cliout - Updated azd-app to import cliout from azd-core. - Deleted internal output package. - Verified CLI output remains unchanged. feat: enhance azd-exec CLI output using cliout - Updated azd-exec commands to use cliout for consistent output formatting. - Added JSON output mode support. - Verified all tests pass. docs: create extension patterns guide in azd-core - Documented version management, logging, and structure patterns. - Included examples from azd-exec and azd-app. chore: update azd-core v0.3.0 release notes - Documented new packages (testutil, cliout) and integration impact. - Updated CHANGELOG.md with v0.3.0 entry.
Contributor
|
🚀 Website Preview
Preview has been cleaned up as the PR was closed. |
Contributor
🚀 Test This PRA preview build ( 🌐 Website PreviewLive Preview: https://jongio.github.io/azd-exec/pr/26/ One-Line Install (Recommended)PowerShell (Windows): iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.ps1) } -PrNumber 26 -Version 0.2.30-pr26"Bash (macOS/Linux): curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.sh | bash -s 26 0.2.30-pr26UninstallWhen you're done testing: PowerShell (Windows): iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 26"Bash (macOS/Linux): curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.sh | bash -s 26Build Info:
What to Test: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR integrates azd-core v0.2.0 dependencies and extracts testing utilities to the shared azd-core/testutil package, improving code reuse and maintainability across the azd ecosystem.
Changes
Core Integration (azd-core v0.2.0)
Environment Variable Standardization
AZD_SCRIPT_DEBUG→AZD_DEBUGfor consistency across azd toolingBug Fixes
Documentation
Web Updates
Impact
Files Changed