making pytests run reliably in vscode and powershell script to spin off a test file quickly

The concern is documenting ensuring pytest works as expected in vscode

1. requirements

2. usage

3. creating code

function create-pythonFiles($name) {
$codeFile = ("$name" -replace "\s", "_") -replace ".+", "$&.py"
$testFile = ("$name" -replace "\s", "_") -replace ".+", "$&_test.py"
New-Item $codeFile
New-Item $testFile
vsc .
Invoke-Item $codeFile
Invoke-Item $testFile
}
Set-Alias pyf create-pythonFiles
pyf SICP_01_01

Technical Support Engineer/Technical Writer (Snowplow Analytics). with a passion for Python / writing documentation. More about me: https://pavol.kutaj.com