'Python API server unit test
I've developed an API server in Python that is running in Docker container. How do I write unit test for it? I am imagining there are some ways to start the server in localhost and calling it using requests library in my unit test script. I will need to implement this into CI/CD pipeline later.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
