Skip to content

Add fixture-backed tests for Docker context resolution #69

@agustif

Description

@agustif

Summary

The Docker resolver tests currently build their config/context data inline. That works, but it keeps the highest-risk compatibility path tied to hand-rolled test setup instead of fixture-backed layouts that resemble Docker's on-disk metadata structure.

Proposed scope

Small test-infrastructure slice for coast-docker::host:

  • add file-based fixtures for Docker config/context metadata layouts
  • cover:
    • DOCKER_CONTEXT
    • DOCKER_CONTEXT=default
    • DOCKER_HOST
    • config currentContext
    • TLS Storage.TLSPath
    • unsupported ssh://
  • keep the tests pure and local: no live Docker engine required

Out of scope

  • transport behavior changes
  • daemon/CLI behavior changes
  • SSH support itself

If this direction looks right, I can send a focused draft PR stacked on top of the resolver work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions