Closed jacksleight closed 1 year ago
:information_source: Shift converted common PHPUnit assertions to Pest expectations. However, there may also be opportunities to chain your expectations together.
For example:
// Before
expect($comment)->toBeArray();
expect($comment)->toHaveCount(3);
expect($comment)->toContain('foo');
// After
expect($comment)->toBeArray()->toHaveCount(3)->toContain('foo');
:information_source: By default, Pest executes your tests sequentially within a single process. However, you may significantly decrease the time needed to run your tests by utilizing the --parallel
option. You may review the documentation on parallel testing for additional details.
:alembic: This Shift is still being refined. Please report any issues or suggestions to shift@laravelshift.com. Your feedback is what helps improve the experience for everyone.
This pull request contains changes for migrating your test suite from PHPUnit to Pest automated by the Pest Converter.
Before merging, you need to:
shift-86891
branchcomposer update
to install Pest with your dependenciesvendor/bin/pest
to verify the conversion