2012-11-29 27 views

回答

1

结果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 
+0

啊,我们对此深感抱歉。我认为它已重命名为符合PowerShell cmdlet命名约定。感谢您的高举。 –