diff --git a/Features.md b/Features.md index 44fd6110..bb6ae9f8 100644 --- a/Features.md +++ b/Features.md @@ -1,2 +1,4 @@ 1. Mutation Testing. 2. `->after`. +3. `pest()->` + diff --git a/src/Configuration.php b/src/Configuration.php index 16d321a4..1eea83b7 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -53,6 +53,14 @@ final class Configuration ->extend(...$classAndTraits); } + /** + * Depending on where is called, it will add the given groups globally or locally. + */ + public function group(string ...$groups): UsesCall + { + return (new UsesCall($this->filename, []))->group(...$groups); + } + /** * Depending on where is called, it will extend the given classes and traits globally or locally. */