Reducing duplication with pytest fixtures

In this post I will demostrate how to use pytest fixtures to access the expected responses to several unit tests with the goal of reducing code duplication. I have used VS Code to build and run these tests. If you need help setting up VS Code to run pytest take a look at this earlier […]

Python Unit Testing with VS Code

This post explains how to set up VS Code to run Python unit tests Install the Python extension If you have not done so already install the Microsoft Python extension for VS Code Configuration Python unit testing is turned off by default. To turn it on, bring up the VS Code Command pallet, on Windows, […]

Using Emmet with VS Code

In this post I give an overview of Emmet and how you can use it in VS Code. What is Emmet? Emmet is an add on to a text editor that uses CSS like expressions which can speed up writing boilerplate primarily in HTML, XML and CSS but can be extended to other programming languages. […]

Learning new text editing shortcuts

Scott Hanselman’s superb video on text editing is a must watch for developers of all levels because it is something that we as developers do on a daily basis, whether it is in a source file, JSON, XML or just a vanilla text file. Here are four keyboard shortcuts I learnt from this video that […]