This Shop Directory project was built for the purpose of testing the modern monolith architecture that is quite popular today, the stacks used for this project are Laravel, InertiaJS, ReactJS, TypeScript, and TailwindCSS.
A custom assertion for phpunit that allows you to count the number of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).
Laravel Dusk provides an expressive, easy-to-use browser automation and testing API. By default, Dusk does not require you to install JDK or Selenium on your machine. Instead, Dusk uses a sta
PHP Selenium client
Selenium is a great tool for testing. This package gives you a boilerplate setup to automate UI testing tasks you'd do manually otherwise.
For example: you can make a scenario to test the flow of a
Laravel Visual Diff
This package can create a visual diff of two screenshots of your Laravel application. It works for both - regular HTTP tests, as well as tests using Laravel Dusk. Behind the scenes, it uses Pixe
Live code coverage
This library should help you generate code coverage reports on a live server (it doesn't have to be a production server of course).
Install this library using:
composer require matthiasnoback/li
Automatically rerun PHPUnit tests when source code changes
Wouldn't it be great if your PHPUnit tests would be automatically rerun whenever you change some code? This package can do exactly that.
With the package
PHP-Mock: mocking built-in PHP functions
PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). This is achieved by PHP's namespace fallback policy:
PHP will fall b
PHPChunkit is a library that sits on top of PHPUnit and adds additional functionality to make it easier to work with large unit and functional test suites. The primary feature is test chunking and databas
Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward.
Kahlan lets you stub or monkey patch your code directly like in Rub