Skip to content

Commit

Permalink
Merge pull request #945 from Ra0to/feature/utils-improvments
Browse files Browse the repository at this point in the history
VS Code tasks improvments
  • Loading branch information
dahlbyk authored Feb 17, 2023
2 parents 4b746d6 + b52a1f5 commit 70e44dc
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,26 @@
{
"label": "Test",
"type": "shell",
"command": "Import-Module Pester -MinimumVersion 5.0.0; $c = [PesterConfiguration]::Default; $c.Run.Path = 'test'; $c.Output.Verbosity = 'Detailed'; $c.Debug.WriteVSCodeMarker = $true; Invoke-Pester -Configuration $c",
"command": "Import-Module Pester -MinimumVersion 5.0.0; $c = [PesterConfiguration]::Default; $c.Run.Path = 'test'; $c.Output.Verbosity = 'Detailed'; Invoke-Pester -Configuration $c",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": [
"$pester"
]
},
{
"label": "TestCurrentFile",
"type": "shell",
"command": "Clear-Host; Import-Module Pester -MinimumVersion 5.0.0; $c = [PesterConfiguration]::Default; $c.Run.Path = '${file}'; $c.Output.Verbosity = 'Detailed'; Invoke-Pester -Configuration $c",
"group": {
"kind": "test",
"isDefault": false
},
"problemMatcher": [
"$pester"
]
}
]
}

0 comments on commit 70e44dc

Please sign in to comment.