PHPUnit - 来自dataProvider的“流式传输”数据(连续模式)

I like to use PHPUnit as a framework for functional (fuzzy) testing. Is it possible to force PHPUnit to run tests one-by-one, after each dataProvider request?

For now it wants to fetch all data from dataProvider before running tests, and if my generator-based dataProvider has while(true){} loop (which is legal for generators), PHPUnit hangs.

Next dataProvider works as expected (limited tests number):

  public function randomArrayProvider()
    {

        for ($i=0; $i<300 ;$i++)
        {
          $aa = $this->buildArraySample();
          yield json_encode($aa) => [$aa];
        }
    }

And this one hangs:

   public function randomArrayProvider()
    {

        while(true)
        {
          $aa = $this->buildArraySample();
          yield json_encode($aa) => [$aa];
        }
    }

Is there a way to run above unlimited generator-based test sequence with PHPUnit?

Note: I have no issues with running above test data "streaming" scenario from php-cli. Just want to integrate it into PHPUnit testing suite, together with unit tests, etc.