Write: Part 3 Supplementary Code
This is the third installment ... Read more.
Often times I find myself in a research session with a user where I’m asked how a particular feature should work. While the question in of itself is a clue to you as a product manager that either: a. it’s not working as intended; or b. the experience isn’t clear – it’s also an amazing opportunity to allow the user to guide you in their assumptions on how something should work.
I’ve ... Read more.
Our decision to begin using Elasticsearch came from a fairly typical use case for the popular distributed data store. We had hundreds of millions of pieces of content, and we wanted to support text search across them. As we set out to migrate our architecture from a relatively simple Postgres setup to include indexing all of our documents into Elasticsearch, we did ... Read more.
When it comes to testing in python
pytest is my favorite testing tool.
pytest is a testing framework that strips out boilerplate and adds a whole bunch of sensible utilities to make your tests more pythonic. In this post we'll cover how to add that awesomeness to a Django project.
unitestto ... Read more.
In a previous post we discussed a basic use case for Python's fantastic
mock library, showing how mock objects are useful for isolating components of an application and creating clean unit tests. By testing against the fake interface provided by a mock object, we can check how our functions are ... Read more.