Closed DimionX closed 1 month ago
hi @DimionX could you elaborate more on the need behind this feature?
hi @DimionX could you elaborate more on the need behind this feature?
Since Dataset Boot connects tests from only one test directory, the limits their use in other scopes. For example, for component or unit tests that are located in the "app" directory, it is impossible to use a dataset that is located in the test directory (tests). Thus, you can manually specify which scope a particular dataset belongs to.
@DimionX I see, would you mind to add some test for your changes?
Just place those "global" datasets on the "tests/Datasets" folder.
What:
Description:
Updated Functions::datasets() method signature by adding $scope optional parameter.