Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we add integration tests to this repository? #141

Open
robdimsdale opened this issue Apr 11, 2022 · 1 comment
Open

Should we add integration tests to this repository? #141

robdimsdale opened this issue Apr 11, 2022 · 1 comment

Comments

@robdimsdale
Copy link
Member

I was surprised to not see any integration tests in this library. I'd like to start a conversation about adding them. I haven't seen any existing conversation in the issues for this repository, so it doesn't look like this conversation has been had before.

This library is a wrapper around the docker client / CLI, and there are places where we decode json into our custom definitions (e.g. Inspect). However, there are no integration tests validating this structure, which means we don't actually have confidence this library is performing correctly.

In practice, one can iterate on changes to this library by utilizing them in a consumer (e.g. a buildpack's integration tests) but that is less clear (and more effort) than self-contained integration tests in this library.

What do folks think? Any strong objections to integration tests?

@garethjevans
Copy link
Contributor

I think that a basic set of integration tests would be a good addition to this repository. They could be used as a set of living examples of how best to use occam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants