You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Refactor operation and requirement handling
- Removed the `ClearConditions` function and its associated test from the `operation` package.
- Introduced `OperationHelper` struct with methods for operation management, including condition clearing and ID generation.
- Added tests for `OperationHelper` methods, ensuring functionality for diffing app deployments and comparing job specifications.
- Deleted unused constants and introduced `RequirementHelper` for managing requirement conditions.
- Implemented tests for `RequirementHelper`, covering condition updates and cache miss checks.
- Added utility functions for generating random strings.
- Updated integration tests to remove dependencies on removed constants and ensure proper phase checks.
- Generated mock implementations for client interfaces to facilitate testing.
* Add tests for application teardown and provision cache fields
- Implemented `TestAppCacheFieldFromApplicationTeardown` to validate the extraction of cache fields from application teardown specifications.
- Implemented `TestAppCacheFieldFromApplicationProvision` to validate the extraction of cache fields from application provision specifications.
- Enhanced `CompareProvisionJobs` to utilize a helper function for comparing dependencies, ensuring consistent behavior.
- Added comprehensive test cases for comparing provision jobs, including scenarios with identical jobs, different dependencies, and empty dependencies.
- Introduced utility functions for comparing string slices and environment variables to streamline comparison logic.
- Updated existing tests to reflect changes in the comparison logic and ensure thorough coverage of edge cases.
0 commit comments