Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
BenjaminLaschkar opened this issue Jan 5, 2024 · 1 comment
Open
2 tasks done

Comments

@BenjaminLaschkar
Copy link

BenjaminLaschkar commented Jan 5, 2024

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 ?

@fflaten
Copy link
Collaborator

fflaten commented Jan 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants