Laravel-TestBench

by grahamcampbell

Providing some testing functionality for Laravel

46 Stars 5 Forks Last release: 3 months ago (v5.5.1) MIT License 438 Commits 40 Releases

Available items

1 Support Hour

Developer services
$50.00

Email/Chat Support

Ask me anything

Coding included

Laravel TestBench

Laravel TestBench was created by, and is maintained by Graham Campbell, and provides some testing functionality for Laravel 5. It utilises PHPUnit, Mockery, Orchestral Testbench, and the Laravel Testbench Core packages. Feel free to check out the change log, releases, security policy, license, code of conduct, and contribution guidelines.

Banner

Promo Banner

Build Status StyleCI Status Software License Packagist Downloads Latest Version

Installation

Laravel TestBench requires PHP 7.1-8.0, and supports PHPUnit 6-9. This particular version supports Laravel 5.5-8.

| TestBench | L5.1 | L5.2 | L5.3 | L5.5 | L5.5 | L5.6 | L5.7 | L5.8 | L6 | L7 | L8 | |-----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------| | 3.4 | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :x: | :x: | :x: | :x: | :x: | :x: | :x: | | 4.0 | :x: | :x: | :x: | :x: | :whitecheckmark: | :x: | :x: | :x: | :x: | :x: | :x: | | 5.5 | :x: | :x: | :x: | :x: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: |

| TestBench | PHPUnit 4.8 | PHPUnit 5 | PHPUnit 6 | PHPUnit 7 | PHPUnit 8 | PHPUnit 9 | |-----------|--------------------|--------------------|--------------------|--------------------|--------------------|--------------------| | 3.4 | :whitecheckmark: | :whitecheckmark: | :x: | :x: | :x: | :x: | | 4.0 | :x: | :x: | :whitecheckmark: | :x: | :x: | :x: | | 5.5 | :x: | :x: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: | :whitecheckmark: |

To get the latest version, simply require the project using Composer:

$ composer require graham-campbell/testbench:^5.5 --dev

Once installed, you can extend or implement the classes in this package, or packages required by this package. The AbstractTestCase class would be a good place to start. There are no service providers to register.

Configuration

Laravel TestBench requires no configuration. Just follow the simple install instructions and go!

Usage

You may see an example of implementation in pretty much all of my Laravel packages.

Security

If you discover a security vulnerability within this package, please send an email to Graham Campbell at [email protected] All security vulnerabilities will be promptly addressed. You may view our full security policy here.

License

Laravel TestBench is licensed under The MIT License (MIT).

For Enterprise

Available as part of the Tidelift Subscription

The maintainers of

graham-campbell/testbench
and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.