Replies: 2 comments 1 reply
-
Hi @jeytii , I just tried on a project of mine:
could you setup a simple public project that reproduces your issue? |
Beta Was this translation helpful? Give feedback.
-
I just tried afterAll and is not executing for me. I have pest version 3.8.2 // tests/Pest.php
I don't see any dump in my console. If I move the dump function to beforeEach, then it works. What am I missing here? I tried this in 2 different projects. Also is there a way to execute cleanup code at the end of my tests? after all the test files have executed? From what I understand, afterAll hook will run after each file. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
All of my test files under
Feature
folder have to refresh the database upon completion and I want to just declare it onPest.php
instead to apply the DRY rule. The problem is... it's skipping theafterAll()
method.Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions