Skip to content

[Testcontainers] move integration test to internal#855

Merged
Anaethelion merged 19 commits intomainfrom
elasticsearch-testcontainers-go-internal
May 16, 2024
Merged

[Testcontainers] move integration test to internal#855
Anaethelion merged 19 commits intomainfrom
elasticsearch-testcontainers-go-internal

Conversation

@Anaethelion
Copy link
Copy Markdown
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
@Anaethelion Anaethelion deleted the elasticsearch-testcontainers-go-internal branch May 16, 2024 16:21
@mdelapenya
Copy link
Copy Markdown
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 <[email protected]>
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 <[email protected]>

---------

Co-authored-by: Manuel de la Peña <[email protected]>
Co-authored-by: Manuel de la Peña <[email protected]>
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.

2 participants