Closed ghostsquad closed 10 years ago
The output is misleading; it should probably say something like "Running all test in 'path' that match test name 'Whatever'".
That said, I can't reproduce the error. What version of Pester are you using?
All of the errors mentioned so far center around code found in Functions\PesterState.ps1 , by the way. This is total speculation, but maybe you have an older version of just that file, in combination with newer versions of the rest of the module's code.
Edit: Scratch that. What you have is an older version of Pester.psm1, in combination with newer versions of at least some of the PS1 files in the Functions directory. If you delete the module and download the latest version, you should be fine.
Thanks. I've deleted the entire module and redownloaded. Not sure how that happened.
Two problems going on here.. 1: I asked it to run just my test.. and it runs all of them?? 2: obviously, the exception at hand..