You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I would like to omit the /** @dataProvider */ here since the methods' name matches.
public function data_bar(){}
/** @dataProvider data_bar */
public function test_bar($v1, $v2){}
In other words, if the test method name is test$n and a method exist as data$n, then phpunit would use it as data provider for test$n, unless overridden by the @dataProvider annotation.
Would this be feasible?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
For example, I would like to omit the
/** @dataProvider */
here since the methods' name matches.In other words, if the test method name is
test$n
and a method exist asdata$n
, then phpunit would use it as data provider fortest$n
, unless overridden by the@dataProvider
annotation.Would this be feasible?
Thank you in advance.
The text was updated successfully, but these errors were encountered: