PHPackages                             dongqibin/swoftunit - 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. dongqibin/swoftunit

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

dongqibin/swoftunit
===================

the phpunit for swoft

v1.0.0(5y ago)118Apache-2.0PHP

Since Jul 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dongqibin/swoftunit)[ Packagist](https://packagist.org/packages/dongqibin/swoftunit)[ RSS](/packages/dongqibin-swoftunit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

基于swoft的单元测试
------------

[](#基于swoft的单元测试)

#### 安装

[](#安装)

```
composer require dongqibin/swoftunit
```

#### 使用

[](#使用)

命令 :

- 可执行文件为 : vendor/bin/sowftunit
- 参数为需要跑的测试脚本目录.
- 示例代码如下 :

```
//执行根目录下的test文件夹内的测试脚本
vendor/bin/swoftunit test
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2137d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26727769?v=4)[dongqibin](/maintainers/dongqibin)[@dongqibin](https://github.com/dongqibin)

---

Top Contributors

[![dongqibin](https://avatars.githubusercontent.com/u/26727769?v=4)](https://github.com/dongqibin "dongqibin (6 commits)")

---

Tags

phpswooleswoft

### Embed Badge

![Health badge](/badges/dongqibin-swoftunit/health.svg)

```
[![Health](https://phpackages.com/badges/dongqibin-swoftunit/health.svg)](https://phpackages.com/packages/dongqibin-swoftunit)
```

###  Alternatives

[swoft/redis

swoft redis component

12168.4k16](/packages/swoft-redis)

PHPackages © 2026

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