【发布时间】:2014-10-24 20:14:57
【问题描述】:
我正在关注从头开始构建 Larabook Laracasts 教程(构建类似 Facebook 的应用程序)。
在第 14 课中,我们实现了“登录”功能。
问题,当我尝试运行我的功能测试(到目前为止一直运行顺利)时,我什么也没得到,甚至没有错误消息:
vagrant@homestead:~/larabook$ vendor/bin/codecept run functional
Codeception PHP Testing Framework v2.0.7
Powered by PHPUnit 4.3.4 by Sebastian Bergmann.
这是我SignInCept.php的内容:
$I = new FunctionalTester($scenario);
$I->am('a Larabook member');
$I->wantTo('login to my Larabook account');
$I->signIn();
$I->seeInCurrentUrl('/statuses');
$I->see('Welcome back!');
我尝试退出我的 Vagrant 虚拟机,但一直遇到同样的问题。
有没有可能是我在更新一些文件时弄坏了一些东西?
【问题讨论】:
标签: laravel virtual-machine vagrant functional-testing codeception