Most of programs, services, scheduled jobs, scripts that we create are likely need to connect to an external resource to pull or push some data. External resource can be a database, distributed cache, message queue, object store and so on. In order to connect to a resources we need at minimum an address and a […]
How to make tests AWESOME
Some people may argue that automated tests are not worth of effort. But here is a kicker: time spent on creating and maintaining tests in many cases is completely justified by time saved on manual testing and re-testing. Another toll of not having automated test is cost of bugs (in time and money) caught late […]
pytest in 5 minutes
This post is a quick tutorial on pytest, an awesome testing framework for Python. The main goal of the tutorial is to show features of pytest that are most useful in day-to-day life. Who can benefit from this tutorial? All code examples that are shown below can be found here. More exhaustive details on pytest […]