-
Notifications
You must be signed in to change notification settings - Fork 66
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
Support data providers #8
Comments
This could be an idea for the next version, having a deep |
I'll take a direct reference to a test here: https://github.com/Ocramius/ProxyManager/blob/ff246e7569744e4a15dc2b043777230d82813d2f/tests/ProxyManagerTest/Functional/FatalPreventionFunctionalTest.php#L89 This test takes all defined classes and throws them at a separate test (much like In order to do that, a new process has to be spawned, and that takes an incredible amount of time for engines that are slower at booting up (hhvm, for example). |
Ehm this is an edge case - but - if a generator fails will broke only the process where that test run |
@liuggio that still forces me to write code where the same test case applies multiple times. For instance, a parallelized test may be reading data from various I see that it's indeed problematic to implement support for something like that, but it would really be awesome :-) |
That's the adding value of fastest, |
But yes I think there's no clean way to do this... |
Most of my slowest tests depend on dozens of test cases generated via data-providers: is there any way to reproduce those in some way when the data provider output is serializable?
The text was updated successfully, but these errors were encountered: