Powershell Script To Create Both Code And Test Files And Link Them With A Single Command
Feb 18, 2021
usecase
- The aim of this explanation💡 is to provide a code that creates PowerShell and python
- ✅ code files
- ✅ test files with proper syntax
- ✅ link code to test
- ✅ be extensible for adding more languages
- I don’t need the syntax for the test there, that I can write/use
ctrl+space
inside vscode to auto-populate; just linking and file creation
… all with a single command with a simple alias; in my workflow, I use pyf
and pof
for Python and Powershell, respectively
- For powershell:
- For python