Is there any way to have pants run tests in the do...
# general
l
Is there any way to have pants run tests in the docker images it builds?
h
Oh that would be so cool! Do you mean that you have normal python_tests, but you run those tests with Docker? Or you have tests written directly in a Dockerfile?
l
I mean configure a
python_tests
to depend on a
docker_image
and when running those tests, run a container with that image (and build it if needed)
👍 1
context for this is that we have some python code with a lot of dependencies on system libraries and cli tools. I want a clear way to run and test that code
👍 1
💯 1
h
We've talked about how powerful that would be, but I don't see a feature request for it. Would you be willing to open one explaining your use case?
c
If it builds the image, are the cli tools etc available as dependencies, or in a base image (or else where)?
m
If an issue is created with this, please share it here, I'd like to subscribe 😉
👍 1
l
m
thanks