eastoriented / php-test
一个将 `if` 定义为对象的 PHP 库
dev-master
2019-11-17 22:42 UTC
Requires
- eastoriented/php-block: dev-master
- eastoriented/php-container: dev-master
Requires (Dev)
- atoum/atoum: ^3
- eastoriented/library: dev-master
This package is auto-updated.
Last update: 2024-09-18 09:00:27 UTC
README
eastoriented/php-test
是一个面向东的 PHP 库,使用对象而不是 if
指令来进行一些测试。所有类中的所有公共方法都返回 void
。
贡献
关于工作流程
我们使用 pull request 来引入新功能和错误修复。
请,尽量在提交信息中明确
- 解释变更的原因;
- 解释技术实现(您可以提供任何相关票据、文章或其他资源的链接)。
您可以使用以下模板
# If applied, this commit will...
# Explain why this change is being made
# Provide links to any relevant tickets, articles or other resources
要使用它,只需将其放入(例如)您的家目录中的文本文件中,并将其定义为模板
# git config --global commit.template ~/.git_commit_template.txt
关于测试
要运行单元测试,只需执行 make tests/units
。