Open ziegenberg opened 6 months ago
I personally don't like shared data providers. Specially when we don't autoload unit tests and that may break one by one isolated execution by adding inter dependencies between tests.
Surely we can easily skip the error/warning if the FQCN of the class is "remote", but still I'm not completely sold to the idea.
Just saying, my very own opinion. :-)
You can share data providers between separate unit tests with:
This generates the error message:
Data provider method "\some\class\test_class::test_provider" not found.