feat: Improve add-deployment Command Tests and Coverage #25
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.



User description
Related Issues
Part of #6
Changes Made
Testing Done
Checklist
Type of Change
Breaking Change
Additional Information
This PR focuses on improving test coverage for the add-deployment command and ensuring that all tests pass correctly. It implements proper error handling and validation in the command implementation.
PR Type
Enhancement, Tests, Documentation
Description
Added
add-deploymentcommand to CLI for deployment management.Implemented
AddDeploymentCommandclass with validation and configuration updates.Enhanced logging with a new
warningmethod inHelmLogger.Updated documentation with ADRs and design details for deployment and backend commands.
Added unit and integration tests for
add-deploymentcommand.Changes walkthrough 📝
3 files
Added CLI support for `add-deployment` command.Implemented `AddDeploymentCommand` for deployment configuration.Added `warning` method to `HelmLogger`.2 files
Added constants for backend and auth types.Updated schema with `no-backend` and `no-auth` options.4 files
Added integration tests for `add-deployment` command.Added unit tests for `AddDeploymentCommand`.Added CLI unit tests for `add-deployment` command.Added unit tests for `warning` method in `HelmLogger`.7 files
Updated ADR for logging with `warning` method.Added ADR for deployment and backend command structure.Updated ADR README with new command structure.Documented backends and authentication types.Updated low-level design with deployment command structure.Added sequence diagrams for deployment and backend commands.Updated tasks with deployment and backend management.