feat: add boolean property to signal dependency proxy calls

This commit is contained in:
jordanbrauer
2021-06-16 01:00:23 -05:00
parent 64e780cf72
commit 9d66893d5a
2 changed files with 9 additions and 0 deletions

View File

@ -66,6 +66,13 @@ final class TestCaseFactory
*/
public $datasets = [];
/**
* Has the current test been marked dependent on others?
*
* @var bool
*/
public $dependent = false;
/**
* The FQN of the test case class.
*

View File

@ -97,6 +97,8 @@ final class TestCall
->factoryProxies
->add(Backtrace::file(), Backtrace::line(), 'addDependencies', [$tests]);
$this->testCaseFactory->dependent = true;
return $this;
}