PHPackages                             andaniel05/undescribed-tests - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. andaniel05/undescribed-tests

ActiveLibrary[Testing &amp; Quality](/categories/testing)

andaniel05/undescribed-tests
============================

Allow the creation of tests with Pest omitting the description

v1.0.0(2mo ago)041MITPHP

Since May 10Pushed 2mo agoCompare

[ Source](https://github.com/andaniel05/undescribed-tests)[ Packagist](https://packagist.org/packages/andaniel05/undescribed-tests)[ RSS](/packages/andaniel05-undescribed-tests/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Undescribed Tests
=================

[](#undescribed-tests)

A wrapper for PestPHP's `test()` function that allows creating tests without providing a description. When omitted, the description is automatically generated using the file name and line number where the closure is defined.

Installation
------------

[](#installation)

```
composer require andaniel05/undescribed-tests
```

Usage
-----

[](#usage)

### Omitting description

[](#omitting-description)

When passing only a closure as argument, the description is automatically generated:

```
