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: improve function dependencies and method naming in e2e config tests
- Refactor e2e config test functions to inject SocketAddr directly instead of RunningProvisionedContainer
- Functions now receive only the ssh_service_socket_addr parameter they actually need
- Apply Dependency Inversion Principle and Interface Segregation Principle for cleaner API
- Rename RunningProvisionedContainer::ssh_details() to ssh_socket_addr() for clarity
- Better type-descriptive naming that immediately indicates return type and purpose
- Update documentation examples to reflect new method name
This reduces coupling between components and makes functions more focused on their
specific requirements, following the Principle of Least Knowledge.
0 commit comments