1. General summary of the issue
I've got some heavy initialization for TestCases on 'It' level. By some condition I need to totally ignore this section, but 'ExcludeTag' and 'Skip' didn't work on any level for this case. Is there a way or condition to ignore TestCases discovering?
2. Describe Your Environment
Pester version : 5.0.4
PowerShell version : 5.1.19041.1
OS version : Microsoft Windows NT 10.0.19041.0
3. Expected Behavior
I expect that 'ExcludeTag' / 'Skip' on 'Describe' level allow to ignore internal 'TestCases'.
4.Current Behavior
TestCases passes through initialization during discovery no matter what I do.
1. General summary of the issue
I've got some heavy initialization for TestCases on 'It' level. By some condition I need to totally ignore this section, but 'ExcludeTag' and 'Skip' didn't work on any level for this case. Is there a way or condition to ignore TestCases discovering?
2. Describe Your Environment
Pester version : 5.0.4
PowerShell version : 5.1.19041.1
OS version : Microsoft Windows NT 10.0.19041.0
3. Expected Behavior
I expect that 'ExcludeTag' / 'Skip' on 'Describe' level allow to ignore internal 'TestCases'.
4.Current Behavior
TestCases passes through initialization during discovery no matter what I do.