心雨

心雨

这家伙有点懒,还没写个性签名!

  • 财富值175
  • 威望值20
  • 总积分575

个人信息

  • 2015-10-23 已签到
    连续签到1天,获得了5个金钱
  • 回复了 的回答

    见这个文章:http://hustnaive.github.io/php/2015/06/16/work-with-yii-and-codeception.html

    codeception很好很强大,但是,如果只是单元测试的话,建议直接用phpunit,稍微简单些。codeception配置较为麻烦。

    还是使用phpunit写了

  • 回复了 的回答

    见这个文章:http://hustnaive.github.io/php/2015/06/16/work-with-yii-and-codeception.html

    codeception很好很强大,但是,如果只是单元测试的话,建议直接用phpunit,稍微简单些。codeception配置较为麻烦。

    1) Testpost in (TokenTest::testpostIndex)
      [yii\base\ErrorException] array_merge(): Argument #2 is not an array
    
    #1  yii\base\ErrorHandler->handleError
    #2  /home/wwwroot/default/pos/posweb2/vendor/yiisoft/yii2/test/FixtureTrait.php:132
    #3  /home/wwwroot/default/pos/posweb2/vendor/yiisoft/yii2/test/FixtureTrait.php:109
    #4  /home/wwwroot/default/pos/posweb2/vendor/yiisoft/yii2-codeception/TestCase.php:84
    #5  /home/wwwroot/default/pos/posweb2/tests/codecept.phar:7
    

    为什么我运行之后老是提示这个错误?

  • 提出了问题
    单元测试
  • 2015-10-20 已签到
    连续签到1天,获得了5个金钱
  • 2015-10-12 已签到
    连续签到1天,获得了5个金钱
  • 2015-10-09 已签到
    连续签到1天,获得了5个金钱
  • 2015-09-29 已签到
    连续签到1天,获得了5个金钱
  • 2015-09-22 已签到
    连续签到1天,获得了5个金钱
  • 2015-09-17 已签到
    连续签到1天,获得了5个金钱
主管 等级规则
575/1000
资料完整度
10/100
用户活跃度
0/100

Ta的关注

0

Ta的粉丝

5

Ta的访客

13