PowerShell / PowerShell/PSScriptAnalyzer

Improve test coverage for `Invoke-ScriptAnalyzer -Settings` argument validation

未關閉
#1,278 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

Area - Engine Issue - Enhancement
主要語言
C#
星號
2.2k
分支
415
平均合併
13 小時 1 分鐘
30 天內合併 PR
2

描述

User Story

  • As a maintainer of PSScriptAnalyzer
  • I want test coverage of the input validation of Invoke-ScriptAnalyzer -Settings arguments
  • so that I can review the stability of changes to this code region.

Specification Details

TODO

PSScriptAnalyzer Version

The latest version of PSScriptAnalyzer as of this writing is 1.18.1.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 未指出檔案或現有測試;首先定位 Invoke-ScriptAnalyzer -Settings 的參數驗證程式碼及其目前的測試。為 Settings 輸入定義涵蓋範圍,然後確認測試套件會執行驗證行為並且仍然通過。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
powershell
領域
testing
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。