Symfony 2中的功能测试

(原文发布于2014年3月4日,原文链接Functional Testing in Symfony 2

本文收录于[go4pro.org]

=====

基于《Symfony 2中的批量数据生成》,我们可以对页面进行有控制的功能测试。所谓“有控制”,意为在测试数据是受控产生的前提下,假定程序逻辑没有问题,那么结果应该是如我们所预期的那样受控。否则程序一定有问题。

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *