New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cooper/hyperf-pest

Pest Testing for hyperf
29 2

Larablocks Analysis

cooper/hyperf-pest works with any PHP project: the latest release (v1.1.0, Jul 20, 2023) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Jul 20, 2023)
  • 0 downloads a month (needs 10,000)
  • 2 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jul 20, 2023.
  • No releases in the last 12 months.
  • First released: Jul 17, 2022.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require cooper/hyperf-pest
Latest Version:v1.1.0
PHP:>=8.0
License:MIT
Last Updated:Jul 20, 2023
Links: GitHub  ·  Packagist
Maintainer: huanghua581

Pest Testing for Hyperf

Tests Latest Stable Version Total Downloads

Pest 是一个注重简单性的优雅 PHP 测试框架.

1.安装 Hyperf-skeleton (已有 Hyperf 项目请忽略)

https://github.com/hyperf/hyperf-skeleton

composer create-project hyperf/hyperf-skeleton

2.使用 Composer 安装

composer require cooper/hyperf-pest

执行

php bin/hyperf.php vendor:publish cooper/hyperf-pest

3.测试命令

./vendor/bin/co-pest --prepend test/bootstrap.php -c phpunit.xml
提示
  • 在 composer.json 中 scripts 添加命令快捷方式:"pest": "co-pest --prepend test/bootstrap.php -c phpunit.xml --colors=always";
  • 语法请看官方文档;
  • 按照 phpunit 写测试也是可以的。

License

The MIT License (MIT). Please see License File for more information.

Alternatives to cooper/hyperf-pest

pestphp/pest

The elegant PHP Testing Framework.

115,104,770 11,795
qase/pest-reporter

Qase TMS reporter for Pest PHP testing framework

155,559 6
orchestra/pest-plugin-testbench

Pest plugin for Testbench

93,883 5
erikgaal/pest-plugin-sharding

Pest Plugin to split tests into multiple runs

616,586 2
dingo-d/wp-pest

A package that will add WordPress integration test suite with Pest framework

27,740 131

Version History

Version Released PHP License
v1.1.0 >=8.0 MIT
v1.0.0 >=8.0 MIT