PHPackages                             thled/pest-plugin-shorthands - 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. [Framework](/categories/framework)
4. /
5. thled/pest-plugin-shorthands

ActiveLibrary[Framework](/categories/framework)

thled/pest-plugin-shorthands
============================

Add shorthand functions for skipping and focusing tests.

v1.1.0(5y ago)1051916MITPHPPHP ^7.3 || ^8.0

Since Apr 22Pushed 5y ago2 watchersCompare

[ Source](https://github.com/thled/pest-plugin-shorthands)[ Packagist](https://packagist.org/packages/thled/pest-plugin-shorthands)[ Fund](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L)[ GitHub Sponsors](https://github.com/nunomaduro)[ RSS](/packages/thled-pest-plugin-shorthands/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (4)Used By (6)

Pest Plugin: Shorthands
=======================

[](#pest-plugin-shorthands)

This repository contains the Pest Plugin *Shorthands*.

> If you want to start testing your application with Pest, visit the main **[Pest Repository](https://github.com/pestphp/pest)**.

Overview
--------

[](#overview)

The Shorthands Plugin for Pest provides additional functions for skipping and focusing tests. These additional functions are just like the test functions but with a single letter prefix for quick usage.

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

[](#installation)

Install the plugin using Composer:

```
$ composer require thled/pest-plugin-shorthands --dev
```

Usage
-----

[](#usage)

Just add an `x` prefix on the test function to skip the test. I.e.

```
xit('should be skipped', function () {
// ...
});
```

Shorthands for skipping:

- `xit()`
- `xtest()`

Same goes for focusing a test by prefixing it with `f`.

Shorthands for focusing:

- `fit()`
- `ftest()`

Credit
------

[](#credit)

Pest was created by **[Nuno Maduro](https://twitter.com/enunomaduro)**under the **[Sponsorware license](https://github.com/sponsorware/docs)**. It got open-sourced and is now licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

1838d ago

Major Versions

v0.1.0 → v1.0.02021-04-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/97c01874c3e03e87da1b6e14eda8633613138a882a08b76cf59ef4b2f25f5b6b?d=identicon)[Thled](/maintainers/Thled)

---

Top Contributors

[![thled](https://avatars.githubusercontent.com/u/28220902?v=4)](https://github.com/thled "thled (10 commits)")

---

Tags

phpplugintestingunitframeworktestpestxitshorthandxtest

### Embed Badge

![Health badge](/badges/thled-pest-plugin-shorthands/health.svg)

```
[![Health](https://phpackages.com/badges/thled-pest-plugin-shorthands/health.svg)](https://phpackages.com/packages/thled-pest-plugin-shorthands)
```

###  Alternatives

[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[jonpurvis/lawman

A PestPHP Plugin to help with architecture testing SaloonPHP integrations

4027.7k8](/packages/jonpurvis-lawman)[spatie/pest-plugin-route-testing

Make sure all routes in your Laravel app are ok

13753.8k](/packages/spatie-pest-plugin-route-testing)[milroyfraser/pest-plugin-gwt

Given When Then(GWT) Plugin for Pest

10332.1k1](/packages/milroyfraser-pest-plugin-gwt)[ozzie/pest-plugin-nest

Nest Pest PHP tests for better organization and readability

2028.3k](/packages/ozzie-pest-plugin-nest)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
