#60: Change the Look & Feel of Pytest With Pytest-Sugar
If you get bored by the dots in the pytest test-runner you may be interested in the pytest-sugar plugin. Let us look what it does and how you can get it.
If you get bored by the dots in the pytest test-runner you may be interested in the pytest-sugar plugin. Let us look what it does and how you can get it.
A good illustration of source code is a must-have when you want to use MkDocs for your project documentation. Let us find out what we need to display code snippets.
Last week I started an introduction to MkDocs. In this post we change the theme and look at other ways to customise our MkDocs site.
MkDocs is a so-called static site generator that uses Python to turn your Markdown files into HTML. It is a great tool to document your projects and works nicely with GitHub Pages.
The more I work with pytest, the more I like the flexibility it offers. Today I post about 3 command-line options that help me a lot and are easy to overlook.
We need pytest and other dependencies only while we develop our application, but not when we run them in production. Is there a way that allows us to track the dependencies but not install all of them all the time?
The test summary of pytest is good when you develop your application. But when you want to share these results with others, the lack of details is a problem. Let us look how we can create a more detailed report that we can share.
Code coverage tools are a great help to find code that is not yet covered by your tests. Let us look how we can find those spots with pytest.
At the start of 2021 it is time to look back at one year of Python Friday. Am I still on track? What worked? And what would I make different?
Parametrised tests are a great help to create many test cases without the need to write many tests. Let us look how they work in pytest.