dreamfly2016 2011-05-17 08:35
浏览 31

基于属性的PHP测试? [关闭]

In various more functional based languages there are tools (like Quickcheck) which allow for property based testing.

How would I go about property based testingin PHP?

I would like to be able to specify the in and output properties of a PHP method, and run coverage tests.

  • 写回答

2条回答 默认 最新

  • duanbi9202 2012-03-15 12:27
    关注

    You can have a go with the Faker library: https://github.com/fzaninotto/Faker. It won't do the testing for you, but it's great for generating the random data.

    评论

报告相同问题?