Tests Watcher is a continuous testing dashboard made with Laravel by Antonio Carlos Ribeiro. According to the author, think of it as “Laravel Horizon for all of your tests.” It supports PHPUnit, Laravel Dusk, PhpSpec, Behat, Atoum, and any test framework executed in the terminal. This project isn’t only for PHP, you could integrate this dashboard with Jest or Rake tests, for example.
If you want to try it out with Laravel Valet, here’s a quick start example:
laravel new ci cd ci composer require pragmarx/ci php artisan vendor:publish --provider="PragmaRX\TestsWatcher\Package\ServiceProvider" valet link ci # configure database on your .env php artisan migrate php artisan ci:watch & php artisan ci:work & open http://ci.dev/tests-watcher/dashboard
There are two commands responsible for updating the CI dashboard: Watcher and Tester.
The Watcher watches for test changes. If a file in your project changes, the whole test suite will run. If you change a test file, only that specific test will run.
The Tester takes the tests from the run queue, executes the tests, and logs the results.
At the time of writing, this package is known to work with the following out-of-the-box:
- Nette Tester
Check out the official repo for more information on Tests Watcher and give it a try with a Laravel project.Filed in: Laravel Packages / Testing
- Senior Full Stack Engineer - Laravel
- Laravel partner seeks Lead Developer
Kirschbaum Development Group
- Senior Programmer **Immediate Opening** (send resume to firstname.lastname@example.org)
- Senior Software Engineer
- Senior Full-Stack Developer
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Command Line Search Tools for Programmers
Learn about five command line search tools for programmers, including grep, ack, The Silver Searcher, Sift, and RipGr…
Announcing Laracon Online 2018
Coming back for 2018 is the one-day Laracon Online conference that will be held on February 7, 2018. Just like last y…