Pester icon indicating copy to clipboard operation
Pester copied to clipboard

Ignore excluded/skipped tests and unnecessary setup/teardown using SkipRemainingOnFailure

Open fflaten opened this issue 1 year ago • 0 comments

PR Summary

  • Refactors plugin to reduce code duplication.
  • Ignores tests excluded by filters or explicitly skipped using -Skip from being marked as skipped by Run.SkipRemainingOnFailure option.
  • Marks relevant blocks as skipped to avoid running BeforeAll/AfterAll

Fix #2440 Fix #2424

PR Checklist

  • [x] PR has meaningful title
  • [x] Summary describes changes
  • [x] 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.
  • [x] Tests are added/update (if required)
  • [ ] Documentation is updated/added (if required)

fflaten avatar May 04 '24 22:05 fflaten