Laravel developers tips

Helpful solutions for Laravel framework developers

Laravel Dusk

How to make your Laravel (Dusk) tests 3 times Faster

July 23, 2018 by Marcin Nabiałek / 5 Comments

Writing tests in application is really important. Although they increase cost of application at the beginning, in longer run they save a lot of money helping you making changes in existing code base and avoiding serious problems in application after changes you made. However good tests should in my opinion should: test many details of … [Read more…]

Posted in: Laravel, Laravel Dusk, Testing Tagged: database migrations, database transactions, DatabaseMigrations, dusk performance, improve speed, laravel dusk tests speed

Running tests in Laravel Dusk

October 4, 2017 by Marcin Nabiałek / 1 Comment

Until 5.3 Laravel was offering API to create very basic Browser tests. It was possible to use assertions like assertRedirectedTo, assertViewHas and so on. But since Laravel 5.4 it was changes. Those assertions are no longer available by default. You can use laravel/browser-kit-testing package if you want to support old style tests but preferred way … [Read more…]

Posted in: Laravel, Laravel Dusk, Testing Tagged: laravel browser testing, laravel browserkit, laravel dusk chromeoptions, laravel dusk remote fonts, laravel dusk screenshots

Marcin Nabiałek

Marcin Nabiałek - Certified Laravel Developer
Marcin Nabiałek - Zend Certified PHP Engineer

Categories

  • Composer
  • Eloquent
  • Laravel
  • Laravel Blade
  • Laravel Dusk
  • Laravel packages
  • Mockery
  • PHP
  • PhpUnit
  • Request
  • Testing
  • Validation

Copyright © 2025 Marcin Nabiałek