Skip to content

Instantly share code, notes, and snippets.

@pkhabazi
Last active July 23, 2019 08:00
Show Gist options
  • Save pkhabazi/73aacd2cb721b0a295aee9b999c68949 to your computer and use it in GitHub Desktop.
Save pkhabazi/73aacd2cb721b0a295aee9b999c68949 to your computer and use it in GitHub Desktop.
Integrate and Run Pester from VS Code Debug
{
"version": "0.2.0",
"configurations": [
{
"name": "Test-ModuleManifest",
"type": "PowerShell",
"request": "launch",
"script": "Invoke-Pester",
"args": ["${workspaceFolder}/tests/Test-ModuleManifest.Tests.ps1", "-Show All"]
},
{
"name": "Test-ModuleFunction",
"type": "PowerShell",
"request": "launch",
"script": "Invoke-Pester",
"args": ["${workspaceFolder}/Tests/Test-ModuleFunction.Tests.ps1", "-Show Failed"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment