Pest plugin to test Laravel applications powered by Octane.
Via Composer
composer require --dev cerbero/pest-plugin-laravel-octane
Once the plugin is installed you are ready to go! Combine the elegant syntax of Pest and Octane Testbench:
test('Octane application')
->assertOctaneCacheMissing('foo')
->assertOctaneTableMissing('example', 'row')
->assertOctaneTableCount('example', 0)
->expectsConcurrencyResults([1, 2, 3])
->get('octane/route')
->assertOk()
->assertOctaneCacheHas('foo', 'bar')
->assertOctaneTableHas('example', 'row.votes', 123)
->assertOctaneTableCount('example', 1);
Please see CHANGELOG for more information on what has changed recently.
composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.