PyTest and Docker¶
Docker seems to be an essential part of testing work.
As a result, I have a section on Docker, with a sub section of Docker To Go, a range of ready made Docker set ups: Docker
Docker and PyTest¶
There are a number of subjects covered in Toolbox > Docker. The section is here
Other plugins¶
There are a number of docker plugins for pytest:
pytest-docker-compose
pytest-docker-tools
docker-python-unittest-pytest
is a more DIY setup.
Docker-Postgres-PGAdmin-Adminer - to go¶
I have a YT video and repo that I have tested many times myself. It also uses my custom Postgres image which has PGVector extension added for Semantic Search, (AI RAG).
Courses¶
I have done many trainings on Docker and I would say the best training is on my favourite platform Udemy: Docker Bootcamp: Conquer Docker with Real-World Projects
Sales every two weeks or so will mean you can get if for $20 USD or so.
What I really like about this course is it does not really go into theory but just builds a great number of microservices and connects them. Repetition makes it become part of the muscle and is probably what is needed for a Test Engineer.
There are other courses that go deeper and one that I find really good is: Python in Containers.
To learn about Linux Containerisation to see what Docker does under the hood: Docker under the hood