pest icon indicating copy to clipboard operation
pest copied to clipboard

[feature] Public access method to Dataset

Open mister-good-deal opened this issue 2 years ago • 1 comments

Hello,

In some tests I needed to access a dataset into a test for some processing before testing.

I used

foreach (\Pest\Datasets::get('my_dataset') as $data) {
    // ...
}

With success but with IDE warning about accessing internal function : Class Datasets is marked as @internal.

It could be good to allow users to access dataset "legally" with a function.

mister-good-deal avatar May 09 '22 15:05 mister-good-deal

Hi, we are actively working on a feature that will allow to preprocess any dataset, still under evaluation but is promising

fabio-ivona avatar May 09 '22 17:05 fabio-ivona

Closing due of lack of activity.

nunomaduro avatar Nov 09 '22 20:11 nunomaduro