Pytest in Docker


Looking for a few pointers on how to get started on this.  I have a Docker container which is a derivation of the AWS Python3.6 CodeBuild image.  I am mounting volumes with my src and running pytests within the container. Works fine.

What I would really like to do though is to use Pycharm's capabilities to run pytest and the debugger on the code within the container. Sounds like that is possible but I am not sure what I need to achieve this.

I am assuming I need Professional i?

Where do I start to get this working?



1 comment
Comment actions Permalink

Hi Andy,

It is not supported currently. There are some workarounds on the web how to get it working, but we cannot guarantee its reliability.


Please sign in to leave a comment.