Given we're testing whether software in a container behaves as expected, I'm not sure if there already are unit test conventions on how that is done? Having unit tests installed in the container, followed by docker run --rm -it pytest testdir -- might be as easy as that?
Implement continuous integration and testing:
Given we're testing whether software in a container behaves as expected, I'm not sure if there already are unit test conventions on how that is done? Having unit tests installed in the container, followed by
docker run --rm -it pytest testdir
-- might be as easy as that?