You might have heard arguments similar to this: “I don’t have time to write tests, I’m too busy implementing this feature”. Being an automated testing fan, how would you reply? Automated tests indeed take time to write and maintain, and that is an axiom. Luckily, the reality is not as simple, and the statement above […]
Secrets and Configuration – Pragmatic Approach
Most of the programs, services, scheduled jobs, and scripts that we create are likely to need to connect to an external resource to pull or push some data. External resources can be a database, distributed cache, message queue, object store, and so on. In order to connect to a resource, we need at minimum an […]
How to make your tests AWESOME
Some people may argue that automated tests are not worth the 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 tests is the cost of bugs (in time and money) caught […]
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 […]