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

[Testcontainers] move integration test to internal #855

Merged
merged 19 commits into from
May 16, 2024

Conversation

Anaethelion
Copy link
Contributor

Follow up PR to #824

This moves over the integration test into an internal package to avoid importing testcontainers-go and dependencies into the main library.

@Anaethelion Anaethelion merged commit 264743b into main May 16, 2024
12 of 13 checks passed
@Anaethelion Anaethelion deleted the elasticsearch-testcontainers-go-internal branch May 16, 2024 16:21
@mdelapenya
Copy link
Contributor

Thanks for this! I like the approach of creating a new module for the ITs, so that the indirect deps are not pushed to clients. I did exactly the same for the compose module for testcontainers-go, to avoid. pushing all compose deps to all users.

Cheers!

Anaethelion added a commit that referenced this pull request Jun 4, 2024
* feat: use testcontainers-go for the integration tests

* chore: bump to latest release

* chore: wrap the ES container into a struct

* adapt github action to testcontainers

* use the same container for all the integration subtests

* use testcontainers for esapi integration tests

* use testcontainers for esutil integration tests

* update testcontainers-go dependency to main branch as a wip

* move custom transport test and insecure default to insecure integration part

* update to latest testcontainers-go 0.31.0

* reorder imports

* move integration test to internal package with testcontainers

* adapt makefile to use the new internal/testing package

* fix bad version transport regression

* update examples dependencies

* reinstate server launch for example testing

---------

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
Anaethelion added a commit that referenced this pull request Jun 4, 2024
* feat: use testcontainers-go for the integration tests (#824)

* feat: use testcontainers-go for the integration tests

* chore: bump to latest release

* chore: wrap the ES container into a struct

* [Testcontainers] move integration test to internal (#855)

* feat: use testcontainers-go for the integration tests

* chore: bump to latest release

* chore: wrap the ES container into a struct

* adapt github action to testcontainers

* use the same container for all the integration subtests

* use testcontainers for esapi integration tests

* use testcontainers for esutil integration tests

* update testcontainers-go dependency to main branch as a wip

* move custom transport test and insecure default to insecure integration part

* update to latest testcontainers-go 0.31.0

* reorder imports

* move integration test to internal package with testcontainers

* adapt makefile to use the new internal/testing package

* fix bad version transport regression

* update examples dependencies

* reinstate server launch for example testing

---------

Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>

---------

Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants