I started learn testing in Laravel but I have a little problem. So phpunit never display any errors. It's simple example
<?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$this->visit('/sdsdsdsd')->see('dasdadasdasd');
}
}
I wrote phpunit in console but I doesn't any errors. Why?
Aucun commentaire:
Enregistrer un commentaire