# phpunit

<phpunit colors="true"
         verbose="true"
         bootstrap="vendor/autoload.php">
    <testsuites>
        <testsuite name="Calculator">
            <directory>test/calculator</directory>
        </testsuite>
    </testsuites>
</phpunit>

# status

    $response = $this->get('/login');
    $response->assertStatus(200);

# login

    $response = $this->post(route('login'), 
    [
        'email' => 'test@example.com', 
        'password' => 'Test123'
    ]);
    $response->assertAuthenticated();

# tag,text

    $response->assertSee('<h1>ページタイトル</h1>', false);
    $response->assertSeeText('ようこそ');