Optimizing Flask client tests
When writing Python integration tests, it’s useful to put slow code such as database access in a setUpClass method, so that they are only executed once for...
When writing Python integration tests, it’s useful to put slow code such as database access in a setUpClass method, so that they are only executed once for...
A common setup for web development is to have a virtual machine on your Mac running all your code. Typically this involves a shared folder containing the cod...
Everyone knows that you should write documentation for your code. Writing documentation actually is not that hard. Like any type of writing, the hardest part...
Celery is an awesome distributed asynchronous task system for Python. It’s great out of the box, but a couple of times I have needed to customize it. Specifi...
Unit tests differs from integration testing primarily in terms of what you’re testing for. Where as with integration tests, you testing for whether the entir...
The python mock library is one of the awesome things about working in Python. No matter what code you’re unit testing, it’s possible to mock out various piec...
Ran into a vexing issue this week. I was getting errors trying to use absolute imports in a new flask app:
REST APIs operate over HTTP, use standard verbs like GET and POST, expose a common-sense URL structure and return resources in a well-defined format, typical...
This post is list of articles, blogs and other resources that I commonly reference.
This is a review of Leadership and Self-Deception: Getting Out of the Box by The Arbinger Institute.