pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.
https://pester.dev/
Other
3.08k stars 470 forks source link

Handle tests marked as inconclusive #2405

Closed csandfeld closed 5 months ago

csandfeld commented 9 months ago

PR Summary

Fix #2400

PR Checklist

Notes

I think the logic to handle inconclusive tests is sound, but I am looking for feedback on these points

csandfeld commented 7 months ago

Happy new year! πŸŽ† Thanks for looking into this. It looks great!

Thank you @fflaten and late happy new year to you too (sorry about the response time).

I have tried to address your comments and requested changes, but would appreciate some advise on this one though:

  • We need some tests to make sure this works and doesn't break in the future. Suggestions:

    • Add test for behavior and error here

Can I trouble you for an example of what you have in mind that is not already there?

csandfeld commented 5 months ago

@fflaten when you have a moment, please let me know if there is anything else I should do or address to complete this PR.

Thanks

fflaten commented 5 months ago

@fflaten when you have a moment, please let me know if there is anything else I should do or address to complete this PR.

Apologies for the delay. Been occupied with work for a while. We're also waiting on @nohwnd for final review + merge & release.

  • We need some tests to make sure this works and doesn't break in the future. Suggestions:

    • Add test for behavior and error here

Can I trouble you for an example of what you have in mind that is not already there?

Can't remember tbh. so just ignore it. I probably missed the existing inconclusive test πŸ™‚

nohwnd commented 5 months ago

& release. <- Not so easy :D My certificate expired because I asked for renew and then went on vacation. I am waiting for a new one.

nohwnd commented 5 months ago

Looking good. I've added cheaper way of checking that the deprecation should be shown so we don't have to inspect every single test on every run.

nohwnd commented 5 months ago

Merged, thank you! :)

csandfeld commented 5 months ago

Thank you for accepting the PR @nohwnd. And thank you @fflaten for you patience with me through the code reviews.

nohwnd commented 5 months ago

No thank you for your work, and sorry for being slow! Same huge thanks for Frode πŸ‘

fflaten commented 5 months ago

Thank you for accepting the PR @nohwnd. And thank you @fflaten for you patience with me through the code reviews.

Thank you for your patience and great work πŸ‘