Skip to content

Backlog: Add PS5-safe test helper checklist for Add-Type and analyzer compatibility #669

Description

@lipkau

Problem\nTests can pass locally on PowerShell 7 but fail on PSv5 due to stricter Add-Type/C# constraints and analyzer expectations.\n\n## Proposal\nAdd a checklist for writing/updating test helpers that are PS5-compatible, including Add-Type patterns and common analyzer pitfalls.\n\n## Acceptance criteria\n- Checklist covers PS5 C# compatibility gotchas with examples.\n- Checklist includes analyzer-sensitive test patterns used in this repo.\n- Guidance is linked from test authoring docs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions