如何指定如果 Pester 断言失败该怎么办?
如果你想说,1 应该等于 1,如果它不等于 1,那么在 powershell 中使用 pester 避免代码重复最雄辩的方法是什么? 例如 {1 |应该是 1} else {bre...