diff --git a/datasets.md b/datasets.md index ee3118d..08a2ca2 100644 --- a/datasets.md +++ b/datasets.md @@ -47,6 +47,13 @@ If a key is added, Pest will use the key when generating the description for the +If the test name includes `:dataset`, the description will be interpolated into the test name at that location. + +```bash + ✓ it validates the "first_name" field + ✓ it validates the "email" field +``` + It is important to notice that when using `closures` in your dataset, you must declare the arguments type in the closure passed to the test function. ```php