contributte/tester
Contributte Tester integrates Nette Tester into your project with a ready-to-use setup and tooling. Install via Composer and follow the included docs to run and manage automated tests on PHP 8.2+ with Nette 3.2+.
contributte/tester extends Nette Tester, offering a lightweight, expressive alternative to PHPUnit/PestPHP for Laravel applications. It excels in unit, integration, and CLI testing but lacks deep Laravel-specific features (e.g., database transactions, Livewire testing). Ideal for teams already familiar with Nette Tester or seeking a minimalist, high-performance testing framework.RefreshDatabase, MigrateFresh).assertRouteIs(), assertSession()) but no native support for Laravel’s testing traits (e.g., WithoutMiddleware, WithFaker). Requires manual adaptation for advanced Laravel features.createTestUser() helpers).tester->assert() syntax, which may alienate teams accustomed to PestPHP’s expect() or Laravel’s assert() methods.RefreshDatabase).MockObject).HttpTests.Tester\Helpers (e.g., assertRouteIs()).roave/better-reflection can help).UserTest.php + UserTester.php).composer require --dev contributte/tester.phpunit.xml to bootstrap Nette Tester.assertTrue() with tester->assertTrue().Tester\Helpers for Laravel-specific assertions../vendor/bin/tester).Tester CLI reduces onboarding friction.--parallel).tester->assert() with Laravel’s assert() may cause maintenance headaches.Tester\Helpers and custom assertions.Xdebug.How can I help you explore Laravel packages today?