1. 首页
  2. 数据库
  3. 其它
  4. 浏览器:Symfony功能测试的流畅界面 源码

浏览器:Symfony功能测试的流畅界面 源码

上传者: 2021-02-09 19:45:41上传 ZIP文件 37.56KB 热度 7次
zenstruck /浏览器 使用Symfony进行功能测试可能很冗长。 该库围绕Symfony的本机功能测试功能提供了表达力强,可自动完成的流利包装器: public function testViewPostAndAddComment () { // assumes a "Post" is in the database with an id of 3 $ this -> kernelBrowser () -> visit ( '/posts/3' ) -> assertSuccessful () -> assertSee
下载地址
用户评论