osflab/console

OSF 简单单元测试组件

3.0.0 2018-02-26 14:34 UTC

This package is not auto-updated.

Last update: 2024-09-15 06:00:00 UTC


README

为命令行应用程序提供一些有用的辅助工具。

安装

您至少需要 php 7.1 和 composer

sudo apt install composer

在您的应用程序中通过 composer

这是在非 osf 项目中使用此功能的首选方法。

只需在您的 composer.json 文件中添加 osflab/console

从 github

测试组件或参与其开发。

git clone https://github.com/osflab/console.git
cd console && composer update

单元测试启动

vendor/bin/runtests