Is there a PHP equivalent for Groovy's Power Asserts?
1条回答 默认 最新
- dtu1747 2012-04-26 12:02关注
PHP has a built-in
assert
function that's a far cry from Power Asserts, but it's all you get. For something more powerful the only option is to use assertions such as those provided by unit-testing frameworks, but that's still not as good as Power Asserts.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报