-
-
Notifications
You must be signed in to change notification settings - Fork 478
Closed
Description
Checklist
- Issue has a meaningful title
- I have searched the existing issues. See all issues
- I have tested using the latest version of Pester. See Installation and update guide.
What is the issue?
The output format when starting running a container is inconsistent for ScriptBlocks vs files.
Expected Behavior
The ScriptBlock name is displayed when starting to run tests in it.
Steps To Reproduce
$container = New-PesterContainer -ScriptBlock {
Describe 'Some Tests' {
It 'passes' {
}
It 'also passes' {
}
}
}
$configurationHashtable = @{
Run = @{ Container = $container };
Output = @{ Verbosity = 'Detailed' };
Debug = @{ ShowNavigationMarkers = $true; ShowStartMarkers = $true }
}
$configuration = New-PesterConfiguration -Hashtable $configurationHashtable
Invoke-Pester -Configuration $configurationvs
$configurationHashtable = @{
Run = @{ Path = "$PSScriptRoot\OtherFile.Tests.ps1" };
Output = @{ Verbosity = 'Detailed' };
Debug = @{ ShowNavigationMarkers = $true; ShowStartMarkers = $true }
}
$configuration = New-PesterConfiguration -Hashtable $configurationHashtable
Invoke-Pester -Configuration $configurationDescribe your environment
No response
Possible Solution?
No response
Metadata
Metadata
Assignees
Labels
No labels