#### Category : integration-testing

I wrote a ChatOps bot for the collaboration tool Mattermost using this framework. Now I’m trying to write and run integration tests and I used their examples. Their docker-compose.yml file will only work on a Linux machine. If you want to reproduce it on a Mac machine, edit the docker-compose.yml to: version: "3.7" services: app: ..

I wrote a ChatOps bot for the open source collaboration tool Mattermost using this framework. Now I want to write some integration tests and run them. When I follow the steps to run the integration tests from their project, they won’t succeed. I used the command pytest –capture=no –log-cli-level=DEBUG . to run the integration tests. ..

In my @QuarkusIntegrationTest I want to use a MockServer testcontainer that simulates the responses to requests from my application. To start the MockServer I use testcontainers. The application uses http://localhost:port, where port is mockserverContainer.getMappedPort (). It all works. When I test the application with -Dquarkus.container-image.build=true, I get the following problem: Quarkus creates a Docker network ..

I am trying to run my Go app’s integration test in cloudbuild. Part of this testing requires my app-under-test to write to and read from Redis. My approach to do this was to start up a custom-build container in build STEP-1 that runs redis-server in the foreground using this command for the step args with ..

I am creating a go application that is supposed to run as a k8s job. I want to run several integration tests with docker-compose. When addressing one scenario, it seams to be easy, as in: services: sut: build: context: . args: SOME_ARG: ${SOME_VAR} and then docker-compose -f docker-compose.test.yaml up –build –remove-orphans –renew-anon-volumes –force-recreate –exit-code-from sut .. Read more I want to use docker image itzg/apacheds for testing my spring app against the active directory. However, the schema is missing the objectClass user. I tried a few other images with AD and nowhere the class was available. Can you tell me how to extend the default schema with the objectClass user? I suppose that .. Read more What is the best way to perform integration testing with my Springboot Java application and SQL Server database. I am using a Mac and want to do this without using a Docker image for SQL Server. Maybe there is a way to dynamically spin up SQL Server DB for integration testing? Source: Docker.. Read more I downloaded Docker and then run Integration Tests in my Intelij Idea written on Java. And each integration test had the same problem : Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flywayInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Validate failed: Detected applied migration not resolved ..