2012-04-26 11:57
浏览 34

是否有Groovy的Power Asserts的PHP等价物?

Is there a PHP equivalent for Groovy's Power Asserts?

图片转代码服务由CSDN问答提供 功能建议

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

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.

    打赏 评论

相关推荐 更多相似问题