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

Improve support for integration tests on SQLFeatureStore #548

Open
tfr42 opened this issue Apr 30, 2015 · 5 comments
Open

Improve support for integration tests on SQLFeatureStore #548

tfr42 opened this issue Apr 30, 2015 · 5 comments
Labels
CI and build CI and build system tests unit/integration test TMC discussion to be discussed by technical management committee members

Comments

@tfr42
Copy link
Member

tfr42 commented Apr 30, 2015

Currently it requires some efforts to run integration tests against a PostgreSQL/PostGIS DB.
Expected is to have a lightweight infrastructure to create a fresh clean database for testing.
It requires some research if in-memory databases such as h2, hsqldb can be used or docker container with PostgreSQL started by Maven.
The latter would require at least two profiles, one for travis-ci where docker container with postgreSQL is available and a local development environment.

@tfr42 tfr42 added the TMC discussion to be discussed by technical management committee members label Apr 30, 2015
@tfr42
Copy link
Member Author

tfr42 commented May 11, 2019

See PR #665

@tfr42
Copy link
Member Author

tfr42 commented May 11, 2019

For testing deegree against different DBMS backends the usage of docker containers is the preferred way.
And the maven build should not start and stop those containers. Here a build pipeline shall execute system and acceptance tests against this infrastructure.

@tfr42
Copy link
Member Author

tfr42 commented May 11, 2019

WIP is https://github.com/tfr42/deegree3/blob/feature/addJenkinsfile/Jenkinsfile
and see #651 for more about how we want to improve the build process

@tfr42 tfr42 added the CI and build CI and build system label Mar 26, 2020
@tfr42
Copy link
Member Author

tfr42 commented Feb 1, 2021

The build pipeline using the Jenkinsfile is in use. Docker has been installed on the build server.

@stempler
Copy link
Member

stempler commented Feb 2, 2021

Did you already select a tool/library for integrating the containers in the tests? I can recommend testcontainers.

@tfr42 tfr42 added the tests unit/integration test label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI and build CI and build system tests unit/integration test TMC discussion to be discussed by technical management committee members
Projects
None yet
Development

No branches or pull requests

2 participants