Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing test file #2525

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Conversation

fflaten
Copy link
Collaborator

@fflaten fflaten commented Jul 2, 2024

PR Summary

I'm not sure how #2523 passed checks, but this file was not committed. Discovered in backport PR #2524 where tests failed.

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

fflaten added a commit that referenced this pull request Jul 2, 2024
Fixed in #2525 for main (v6)
@nohwnd
Copy link
Member

nohwnd commented Jul 3, 2024

Did you have closer look on why the tests in the pipeline did not fail when the file was missing?

@fflaten
Copy link
Collaborator Author

fflaten commented Jul 3, 2024

Had a look now. The Coverage P-tests are skipped in v6 pipeline due to use of test.ps1 -CC parameter.

@nohwnd
Copy link
Member

nohwnd commented Jul 3, 2024

Yeah I need to fix that, or run those tests separately. I think I disabled them because they were turning off tracing and breaking the overall code coverage.

@nohwnd
Copy link
Member

nohwnd commented Jul 3, 2024

#2526

@nohwnd nohwnd merged commit ccc7ff9 into pester:main Jul 3, 2024
11 checks passed
@fflaten fflaten deleted the fix-cc-excludetests-tests branch July 4, 2024 19:51
nohwnd added a commit that referenced this pull request Jul 10, 2024
* Implement CodeCoverage.ExcludeTests

* Update src/functions/Coverage.ps1

* Add missing test file

Fixed in #2525 for main (v6)

* Fix tests

---------

Co-authored-by: Frode Flaten <3436158+fflaten@users.noreply.github.com>
Co-authored-by: Jakub Jareš <me@jakubjares.com>
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