Closed it-praktyk closed 6 years ago
@it-praktyk there were some fixes to Gherkin posted this morning, did you try it on sources that had #936 ? Please try again.
Yes, I didn't provide details about the Pester version. My shame.
I performed the test based on the version after merging the pull request #936 to the Pester/master branch - the code base.
@Jaykul Do you want to fix this for 4.1
, or should I release without Gherkin support on Linux and you fix it in 4.1.1
?
Failed count is wrong and it cannot find the implementation for step.
I will address this immediately.
Bah. Stupid case-sensitive FileSystemProvider....
Short story: -Filter *.steps.ps1
doesn't find files named .Steps.ps1
on Linux.
Sorry that took so long. Had some merge weirdness...
@Jaykul could you have a look on this today please?
I made a couple attempts to resolve this, but there are still weird errors. It seems to be because the test files were changed to use StrictMode in PS2, but I am not sure what's happening.
They pass in PS3+, including on Linux.
If you want to release today with a caveat re. PS2, I can live with that. Otherwise, I'll get back to it in 8 hours or so, after work.
After the last set of commits (which I accidentally pushed one at a time), all tests pass on all my systems, from PS2 through PowerShell 5 and 6 Windows 10 Fast Ring and Linux.
I dislike PowerShell 2 more than ever now, but they're working. 😉
Fixed by the commit above, forgot to add auto-closing message.
I enabled executing test from the file Functions\Gherkin.Tests.ps1 (I commented the line) and after that run tests for Gherkin - all tests fail.