Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 535 Bytes

testing.md

File metadata and controls

23 lines (18 loc) · 535 Bytes
title description
Testing
The `tests` folder

Testing

The tests folder contains your Pest tests. By default, Laravel Zero ships with an Integration suite written with Pest syntax that can be used as follows:

test('inspiring command', function () {
    $this->artisan('inspiring')
         ->expectsOutput('Simplicity is the ultimate sophistication.')
         ->assertExitCode(0);
});

As usual, you can always run your tests using the pest command:

./vendor/bin/pest