Python 3.6 new features – formatted string literals

On 23. December 2016 new minor version of Python was released – 3.6. It brings few enhancements and syntax features. In my opinion the most notable one is introduction of formatted string literals.

I always envied Ruby’s string interpolation because it is much cleaner and doesn’t require programmer to read end of expression just […]

Read More

What is celery beat and how to use it?

Celery is a widely recognized distributed task queue for pythonic projects. Its sole purpose is to reduce load of web servers by delegating time-consuming tasks to separate processes. Our web servers should handle one request for no longer than a fraction of second, therefore running long tasks synchronously substantially reduces application’s throughput. So we are […]

Read More

How to automate testing (almost) any app?

Let’s talk about higher level testing – acceptance and end-to-end. Such test suites interact with your application in the same way as ordinary user. Therefore, we require our tests to communicate with application at the same layer. In other words, we should use the same interface whether is it GUI,  browser or REST endpoint. Naturally, higher level test suites should consist […]

Read More