MMichał Iżewski·Apr 27How I Cut Our CI/CD Pipeline from 35 to 5 Minutes (And Saved the Team's Sanity)How we slashed CI/CD pipeline time for a massive monorepo by identifying I/O bottlenecks and tuning OPcache for CLI11 min read·blog.iamdev.pl
VvictorstackAI·Mar 10assertEqualHTML() in WordPress: Kill Your Brittle HTML TestsHow to migrate WordPress plugin tests to assertEqualHTML() for semantic HTML comparison. Drupal developers using PHPUnit for render tests face the same brittle-assertion problem.4 min read·victorstackai.hashnode.dev
Rrecca0120·Mar 8PHPUnit: Mock sleep() in 2 Ways Without WaitingWhen sleep() slows PHPUnit tests, extract a Clock class and use Mockery spy to replace it, or use php-mock to mock the built-in function with no code changes.2 min read·recca0120.hashnode.dev
Rrecca0120·Mar 82 Ways to Fake $_SERVER Variables in Laravel Feature TestsFake $_SERVER in Laravel feature tests by passing server vars per-request, or use withServerVariables() to apply them globally for the entire test method.1 min read·recca0120.hashnode.dev
Rrecca0120·Mar 8PHPUnit: Test Closures with Mockery::spyAssertions inside a closure pass silently even if never called. Wrap the closure in Mockery::spy to verify invocation count and arguments in PHPUnit tests.1 min read·recca0120.hashnode.dev
Rrecca0120·Mar 3Write Deterministic PHPUnit Assertions with Mockery::captureWhen a method uses random_int internally, Mockery::capture with passthru captures the intermediate value so you can compute the expected result and assert it.2 min read·recca0120.hashnode.dev
Rrecca0120·Mar 3Laravel Testing: Assert Final Page Content After a RedirectPOST requests only return a 302, hiding the final page. Use followingRedirects() to automatically follow redirects and assert on the destination page content.1 min read·recca0120.hashnode.dev
Rrecca0120·Mar 3Mock IteratorAggregate with Mockery to Fix foreach in TestsMocking IteratorAggregate breaks foreach in PHPUnit. Return an ArrayObject from the mocked getIterator method to make foreach iterate over test data correctly.1 min read·recca0120.hashnode.dev
AAntonio Silva·Nov 15, 2025Mastering Complex Concepts and Proven Best PracticesDeep Dive into Advanced Topics and Key Practices6 min read·antoniosilva.hashnode.dev
AAntonio Silva·Nov 8, 2025Understanding Test Doubles: An Introduction to Mocks and StubsExploring the Basics of Test Doubles: Mocks and Stubs6 min read·antoniosilva.hashnode.dev