Skip to content

Allow docker image & pytest plugins to be configured in integration tests #671

Description

@cameron-craig-etas

What

Currently we have a hard coded docker image which we use for all integration tests. For certain tests, we would like to be able to use a different docker image. To allow this should add arguments to our integration_test Bazel macro to allow the configuration of the docker image and tag.

Also, for some tests it is useful to have the option to specify pytest plugins. These plugins should be forwarded to py_itf_test. We currently use a number of hard coded plugins, but do not allow configuration per test.

Acceptance Criteria (DoD)

  • Docker image and tag can be configured per test
  • Additional pytest plugins can be provided to integration tests

How

  • Add docker_image_target and docker_image_tag arguments in tests/utils/bazel/integration.bzl to allow configuration of the docker image.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions