Skip to content

Allow configurable test settings#1804

Draft
diecknet wants to merge 2 commits into
maester365:mainfrom
diecknet:feat/configurable-test-settings
Draft

Allow configurable test settings#1804
diecknet wants to merge 2 commits into
maester365:mainfrom
diecknet:feat/configurable-test-settings

Conversation

@diecknet
Copy link
Copy Markdown

@diecknet diecknet commented May 28, 2026

📑 Description

Previously Get-MtMaesterConfig only imported the severity from the test specific settings from maester-config.json.

# Update the existing properties (right now only Severity is supported)
$mainTestSetting.Severity = $customSetting.Severity

With this PR the cmdlet imports all values for a test from the JSON config file.

Closes #1798

✅ Checks

  • My pull request adheres to the code style of this project.
  • My code requires changes to the documentation.
  • I have updated the documentation as required.
  • The build and unit tests pass after running /powershell/tests/pester.ps1 locally.

ℹ️ Additional Information


instead of just the severity
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 28, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@SamErde SamErde added maester-test Related to a Maester test maester-core Related to the core Maester framework labels May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maester-core Related to the core Maester framework maester-test Related to a Maester test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🙏 Configurable accepted deviations for tests

2 participants