<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>phpunit: --filter tests with @dataprovider</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/826 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="826"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;Only run one specific data provider parameter set:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ phpunit --filter testCalculateDates4Weeks&amp;#64;2025W01-2
&lt;/pre&gt;
&lt;p&gt;You have to use keys in the dataprovider array.&lt;/p&gt;
&lt;p&gt;Links:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;a class="reference external" href="https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers"&gt;https://phpunit.readthedocs.io/en/9.5/writing-tests-for-phpunit.html#data-providers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="reference external" href="https://www.vivait.co.uk/labs/running-phpunit-with-a-specific-data-provider-set"&gt;https://www.vivait.co.uk/labs/running-phpunit-with-a-specific-data-provider-set&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/826/rev-raw/edecb49fbc90fef90c5b0e2949fdb1cd3171f8bc/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/826#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
