Skip to content

Conversation

@MariusStorhaug
Copy link
Member

Description

This pull request simplifies the test result handling logic in the scripts/main.ps1 file by removing all checks and reporting related to tests that were "NotRun". The script now only considers passed, failed, and inconclusive tests when determining test failures and reporting errors.

Test result handling simplification:

  • Removed all logic related to the NotRun test status, including the $hasNotRunValue variable, checks for NotRun in test failure conditions, and error reporting for tests that were not run. [1] [2] [3]

Copilot AI review requested due to automatic review settings October 13, 2025 19:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR simplifies test result handling by removing all logic related to tests with "NotRun" status, focusing only on passed, failed, and inconclusive test outcomes. This change prevents filtered tests (which typically have "NotRun" status) from being counted as failed tests.

  • Removed $hasNotRunValue variable and associated checks
  • Updated test failure condition to exclude NotRun tests
  • Removed error reporting for tests that were not run

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@MariusStorhaug MariusStorhaug self-assigned this Oct 13, 2025
@MariusStorhaug MariusStorhaug merged commit bae9b0c into main Oct 13, 2025
18 of 21 checks passed
@MariusStorhaug MariusStorhaug deleted the dontFailOnFilter branch October 13, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants