Pho-PHP是PHP的BDD测试框架,它的灵感来自于Jasmie和RSpec。它有十分熟悉的语法,以及在开发中可以监控自动重启的指令。它也可以用定制的匹配器进行扩展。
示例代码:
Usage: pho [optios] [files]Optios -a --ascii Show ASCII art o completio -b --bootstrap <bootstrap> Bootstrap file to load -f --filter <patter> Ru specs cotaiig a patter -h --help Output usage iformatio - --amespace Oly use amespaced fuctios -r --reporter <ame> Specify the reporter to use -s --stop Stop o failure -v --versio Display versio umber -w --watch Watch files for chages ad reru specs -C --o-color Disable termial colors









评论