Skip to content

Commit 19f4509

Browse files
🩹 [Patch]: Set Pester StackTraceVerbosity default to Filtered (#78)
## Description - Set Pester `StackTraceVerbosity` default to `Filtered` ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent b785e80 commit 19f4509

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
| `TestType` | The type of tests to run. Can be either `Module` or `SourceCode`. | `true` | |
102102
| `Name` | The name of the module to test. The name of the repository is used if not specified. | `false` | |
103103
| `TestsPath` | The path to the tests to run. | `false` | `tests` |
104-
| `StackTraceVerbosity` | Verbosity level of the stack trace. Allowed values: `None`, `FirstLine`, `Filtered`, `Full`. | `false` | `None` |
104+
| `StackTraceVerbosity` | Verbosity level of the stack trace. Allowed values: `None`, `FirstLine`, `Filtered`, `Full`. | `false` | `Filtered` |
105105
| `Verbosity` | Verbosity level of the test output. Allowed values: `None`, `Normal`, `Detailed`, `Diagnostic`. | `false` | `Detailed` |
106106

107107
### Outputs

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ inputs:
2222
StackTraceVerbosity:
2323
description: "Verbosity level of the stack trace. Allowed values: 'None', 'FirstLine', 'Filtered', 'Full'."
2424
required: false
25-
default: 'None'
25+
default: 'Filtered'
2626
Verbosity:
2727
description: "Verbosity level of the test output. Allowed values: 'None', 'Normal', 'Detailed', 'Diagnostic'."
2828
required: false

scripts/helpers/Test-PSModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Verbosity level of the stack trace.
2727
[Parameter()]
2828
[ValidateSet('None', 'FirstLine', 'Filtered', 'Full')]
29-
[string] $StackTraceVerbosity = 'None',
29+
[string] $StackTraceVerbosity = 'Filtered',
3030

3131
# Verbosity level of the test output.
3232
[Parameter()]

0 commit comments

Comments
 (0)