How would you use a trait which uses setup and teardown? #328
Unanswered
JasonTheAdams
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I tried using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following in an existing TestCase class:
Using this, in a Test class if I can use the
$configsToStore
property to temporarily swap mock values into the Config, and then restore those values once the test class is finished. I can't figure out the best way to make something reusable like this between test files in Pest.Any recommendations?
Beta Was this translation helpful? Give feedback.
All reactions