PShould:适用于PowerShell的流畅断言库

时间:2021-05-14 08:14:40
【文件属性】:
文件名称:PShould:适用于PowerShell的流畅断言库
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-14 08:14:40
PowerShell 应当 PShould (发音为“ should”或“ puh-should”)是Powershell的流利断言模块。 PShould将验证给定的假设,如果假设不正确,则将引发异常。 PShould是PSST PowerShell测试套件的一部分: 例子 入门: Import-Module PShould 5 | should be 5 0 | should not be 1 0 | should not !be 1 0 | should ! be 1 (1,2) | should be (1,2) (1,2) | should not be (3,4) (1,2,3) | should not be (3,4) @{a=1;b=2} | should be @{a=1;b=2} @{a=1;b=2} | should not be @{a=1;b=3} @{a=1;b=2} | sh
【文件预览】:
PShould-master
----Build.psake.ps1(1KB)
----init.ps1(95B)
----PShould.Tests.ps1(5KB)
----LICENSE(3KB)
----README.md(3KB)
----PShould.psm1(15KB)
----PShould.nuspec(683B)
----Build.ps1(116B)
----.gitignore(17B)

网友评论