Skip to content

Commit

Permalink
🩹 [Patch]: Set Pester StackTraceVerbosity default to Filtered (#78)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
MariusStorhaug authored Nov 23, 2024
1 parent b785e80 commit 19f4509
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
| `TestType` | The type of tests to run. Can be either `Module` or `SourceCode`. | `true` | |
| `Name` | The name of the module to test. The name of the repository is used if not specified. | `false` | |
| `TestsPath` | The path to the tests to run. | `false` | `tests` |
| `StackTraceVerbosity` | Verbosity level of the stack trace. Allowed values: `None`, `FirstLine`, `Filtered`, `Full`. | `false` | `None` |
| `StackTraceVerbosity` | Verbosity level of the stack trace. Allowed values: `None`, `FirstLine`, `Filtered`, `Full`. | `false` | `Filtered` |
| `Verbosity` | Verbosity level of the test output. Allowed values: `None`, `Normal`, `Detailed`, `Diagnostic`. | `false` | `Detailed` |

### Outputs
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:
StackTraceVerbosity:
description: "Verbosity level of the stack trace. Allowed values: 'None', 'FirstLine', 'Filtered', 'Full'."
required: false
default: 'None'
default: 'Filtered'
Verbosity:
description: "Verbosity level of the test output. Allowed values: 'None', 'Normal', 'Detailed', 'Diagnostic'."
required: false
Expand Down
2 changes: 1 addition & 1 deletion scripts/helpers/Test-PSModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Verbosity level of the stack trace.
[Parameter()]
[ValidateSet('None', 'FirstLine', 'Filtered', 'Full')]
[string] $StackTraceVerbosity = 'None',
[string] $StackTraceVerbosity = 'Filtered',

# Verbosity level of the test output.
[Parameter()]
Expand Down

0 comments on commit 19f4509

Please sign in to comment.