我刚刚开始将TDD和Dusk用于我的编码例程。
全新安装Laravel和Dusk之后,我运行php artisan dusk
,示例测试返回以下内容:
PHPUnit 7.5.1 by Sebastian Bergmann and contributors.
R 1 / 1 (100%)
Time: 215 ms, Memory: 16.00MB
There was 1 risky test:
1) Tests\Browser\ExampleTest::test_BasicExample
This test did not perform any assertions
/var/www/parkedwrong/tests/Browser/ExampleTest.php:16
OK, but incomplete, skipped, or risky tests!
Tests: 1, Assertions: 0, Risky: 1.
。
谁能解释为什么不执行任何测试?
。
设置:
beyondcode/dusk-dashboard 1.0.3
laravel/dusk v4.0.4
laravel/framework v5.7.19
phpunit/phpunit 7.5.1
我所做的:在Google,StackOverflow中搜索可能的修复程序
编辑:添加了完整的输出