【发布时间】:2017-01-04 16:20:09
【问题描述】:
在 nUnit 中,我们可以这样做:
Expect(actualColleciton, EquivalentTo(expectedCollection));
和
Expect(actualCollection, EqualTo(expectedCollection));
Pester 中是否有等价物?
我知道我能做到
$actualCollection | Should Be $expectedCollection
但它的行为与您预期的不同。
我是否使用了正确的语法?
【问题讨论】:
标签: powershell pester