Skip to content

add first integration test#11

Merged
samwar merged 1 commit intomasterfrom
docker-it
Mar 17, 2021
Merged

add first integration test#11
samwar merged 1 commit intomasterfrom
docker-it

Conversation

@zzantozz
Copy link
Copy Markdown
Contributor

As I continue testing, it becomes apparent that it'll be useful to
divide unit (fast) tests from integration (maybe slow) tests. Building
the docker image is one such test. It can take quite a while, and it
also has the side effect of overwriting your local image, so it's not
one you want to include in the "run all the time" test suite.

This adds initial docker image tests as the first integration test.

@zzantozz zzantozz force-pushed the docker-it branch 3 times, most recently from 78d1fb8 to af07e54 Compare March 17, 2021 18:51
As I continue testing, it becomes apparent that it'll be useful to
divide unit (fast) tests from integration (maybe slow) tests. Building
the docker image is one such test. It can take quite a while, and it
also has the side effect of overwriting your local image, so it's not
one you want to include in the "run all the time" test suite.

This adds initial docker image tests as the first integration test.
Copy link
Copy Markdown
Member

@samwar samwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments.

Comment thread it/docker-image.bats
Comment thread tests/README.md
@samwar samwar merged commit b80979e into master Mar 17, 2021
@samwar samwar deleted the docker-it branch March 17, 2021 21:37
@zzantozz zzantozz added feature New feature or request and removed feature New feature or request labels Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants