pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.

Home Page:https://pester.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does somthing like @afterstep exist for Pester 4.6 with Invoke Gherkin

BenjaminLaschkar opened this issue · comments

Checklist

Where did you see it?

Pester 4.6.0

Function name

Invoke-Gherkin

What is the issue?

Hi, I use Pester 4.6 and I am working on an architechture to provide screenshoot after each step of my tests.

I saw that something like AfterStep and BeforeStep were existing in the 4.0.0 (GherkinHooks)
But nothing similar in the 4.6.0

Was it removed completely ? Or maybe it still exist and I am missing something ?

It was removed in 4.0.3-rc as part of #726. Not sure why. I only see an explicit comment about removing *AllFeatures hooks but they were all removed simultaneously.

Maybe @Jaykul remembers why, though it has been 7 years.