thled/pest-plugin-shorthands 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固