Menu Home

pytest: Different directories

This post describes a problem you may encounter when using pytest and the module and unit tests resided in different directories. In this post I used Python 3.6.1 and VS Code 1.52.1 running on Windows 10. The module and the unit tests can be found on GitHub. The code and […]

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 […]

JavaScript Hoisting

This post is to help my future self, specifically for the times when I am debugging JavaScript and trying to understand another one of it’s odd habits. What is Hoisting? When I first heard the term hoisting being applied to a programming language, my first thought was like a flag […]