thled/pest-plugin-shorthands
Composer 安装命令:
composer require --dev thled/pest-plugin-shorthands
包简介
Add shorthand functions for skipping and focusing tests.
README 文档
README
This repository contains the Pest Plugin Shorthands.
If you want to start testing your application with Pest, visit the main Pest Repository.
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
Install the plugin using Composer:
$ composer require thled/pest-plugin-shorthands --dev
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
Pest was created by Nuno Maduro under the Sponsorware license. It got open-sourced and is now licensed under the MIT license.
统计信息
- 总下载量: 519
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-23