Unit Testing and Mock with Python Unittest and Mock Package

Pre-requisites Visual Studio Code - https://code.visualstudio.com/download  or any code editor Python 3 - https://www.python.org/downloads/ In this workshop we will write our Unit Test in Python with Unittest Lets follow below steps to achieve this Create a folder to store our program Add file called calculate.py this file does addition of 2 numbers. Write the code to add … Continue reading Unit Testing and Mock with Python Unittest and Mock Package

Advertisements

Create Python DJango project from Visual Studio and push it to Github

In this workshop we shall create Python DJango project from Visual Stdio and push it to distributed version control Github. Pre-requisites Visual Studio 2017 - https://www.visualstudio.com/vs/community/ Git - https://git-scm.com/downloads Lets follow below steps to achieve this Login to Github if you don't have Github account then please create new account. Create New Repository  Once the repository is create … Continue reading Create Python DJango project from Visual Studio and push it to Github