Laravel Testing Helper for Packages Development: https://github.com/orchestral/testbench
Package allows to run tests in laravel-like environment.
You can use database, facades, helpers etc.
When writing a Laravel application, it generally does not matter if
you use contracts or facades since both provide essentially equal
levels of testability. However, when writing packages, your package
will not typically have access to all of Laravel's testing helpers. If
you would like to be able to write your package tests as if they
existed inside a typical Laravel application, you may use the
Orchestral Testbench package.
Here is example of real usage: https://github.com/Maatwebsite/Laravel-Excel