0
我下面从这里的说明:创建夹具的纠缠(PowerShell的BDD)不工作
http://scottmuc.com/blog/development/pester-bdd-for-the-system-administrator/
我发现,已经安装并导入模块我仍然不能运行Create-Fixture。
有没有人遇到过这个?
我下面从这里的说明:创建夹具的纠缠(PowerShell的BDD)不工作
http://scottmuc.com/blog/development/pester-bdd-for-the-system-administrator/
我发现,已经安装并导入模块我仍然不能运行Create-Fixture。
有没有人遇到过这个?
结果Create-Fixture不再是一个cmdlet。我一看这里:
https://github.com/mwrock/Chocolatey-Packages/blob/master/pester/Pester.psm1
,实现了cmdlet的名称已被更改。现在叫做New-Fixture。
如果运行新的夹具甚至引用创建夹具:
PS D:\edsource\Powershell> New-Fixture
invalid usage, please specify (path, name)
eg: .\Create-Fixture -Path Foo -Name Bar
creates .\Foo\Bar.ps1 and .\Foo.Bar.Tests.ps1
啊,我们对此深感抱歉。我认为它已重命名为符合PowerShell cmdlet命名约定。感谢您的高举。 –