Closed nohwnd closed 3 months ago
We should probably decide on #2381 soon, so these assertions can either implement it - or not. 🙂
/azp run
This PR is getting too much, will start refactoring the existing assertions towards common pattern (to make them more similar to the current Should -* assertions), instead of adding new ones.
Should be good enough to release in 6.0.0-alpha1 so we can get other people to look at this. Please give at another quick review @fflaten .
With 7k linediff I can't promise "quick", but I'll try tomorrow when my browser is done rendering the diff. 🙂 I'll trust your tests for functionality.
I've fixed all the suggestions, and what I did not fix I moved to issues :) Pls approve.
Fix #1423 Fix #1316 Fix #1323 Fix #1355
PR Summary
This PR adds assertions from Assert module to Pester, to serve as a base for future assertions and to live side-by-side with the existing Should assertions that are based on parameter sets.
PR Checklist
Create Pull Request
to mark it as a draft. PR can be markedReady for review
when it's ready.