Replies: 1 comment 3 replies
-
Hi @oakkitten on mobile at the minute but you could add a new config option via a |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm testing an application and most test use, directly or indirectly, a fixture called
session_with_profile_loaded
. Normally, I want to tear down the profile after each test, but that can be slow; so I want to have an option to run tests faster—keeping the profile and cleaning up the changes within it. So what I have now is approximately this:This works fine, but I want to have
FAST_BUT_FRAGILE
as a command line argument. I don't think I can just have anif
inside the fixture, as the two implementations depend on different fixtures. And I don't think I can access command line arguments at the time when the fixture is defined. So what's a good way of doing this?Beta Was this translation helpful? Give feedback.
All reactions