brunty / phpspec-skip-work-in-progress-extension
此包已被弃用,不再维护。未建议替代包。
跳过标记为“工作正在进行中”的PhpSpec示例和规范。
v0.1.0
2016-10-31 21:40 UTC
Requires
- phpspec/phpspec: ^3.0
This package is auto-updated.
Last update: 2022-02-01 13:02:34 UTC
README
兼容性
PhpSpec 3.0及以上版本
安装
运行以下命令
$ composer require brunty/phpspec-skip-work-in-progress-extension
用法
为正在工作的示例添加一个@wip
注释到文档块中。
class MultiplierSpec extends ObjectBehavior { /** * This will be skipped as the example is marked as work-in-progress * * @wip */ function it_multiplies_two_numbers_together() { } // This will not be skipped as the example and spec are not marked as work-in-progress function it_multiplies_three_numbers_together() { } }
贡献
尽管这个项目规模不大,但开放性和包容性被认真对待。为此,已经采纳以下行为准则。