Terminimal Zola theme

I have finally started my personal blog! Welcome.

I decided to go with Zola as the static website generator, mostly because it's very fast (written in Rust) and has a nice template language. Compared to Hugo I like it much better, and it's got most of the features I needed out of the box.

I have created a theme for the blog, called Terminimal. The theme is based on the Terminal theme by panr -- many thanks for that one, Radek!

If you like how this site looks, please check out my theme here.

Read more  ↩︎

Basic Python testing setup with pytest

Recently, pytest has become the de-facto standard Python testing framework. Compared to unittest or nose, pytest assumes a different philosophy. There's no more test cases, setUp/tearDown, specific asserts and all the boilerplate. pytest tries to keep things simple by using plain functions and make writing tests very straightforward.

I have been using pytest for a while now and I quite like it. I use it for all new projects. It's worth noting that it maintains compatibility with unittest and nose test suites which makes the migration easy -- I recommend giving it a go!

In this post, we'll take a look at how to get started with pytest in a Python project.

Read more  ↩︎