Laravel 5.4 Event Testing

Has anyone had any luck with Event testing in Laravel 5.4? I have done exactly what the documentation is asking, but I keep getting a event w...
07

dusk WebDriverException on Homestead

Hi all, Have any of you had problems trying to run the dusk example test from a homestead? I tried but got the error bellow, I've been looki...
03

using collections in testing

Here is my test: <?php namespace Tests\Endpoint\Api\V1; use App\Models\Vessel; use Illuminate\Foundation\Testing\DatabaseMigrat...
10

sqlite in-memory db gets "could not find driver" error

New Laravel 5.4 install; tried configuring phpunit to use in-memory sqlite db as such <env name="APP_ENV" value...
03

Testing & Development Environments

Hello, I am using Laravel 5.3 and I have 2 different environments (Testing and Development). I created 2 separate env files (.env and...
00

Jmeter

Hi This Is Ashok , How to Declare Array of values inside Beanshell Sampler ?...
00

How do I test a view file after redirect?

Hello, I created a test when logging out, it will redirect with the login page with a message on it. I am trying to create a feature test fo...
04

phpunit command fails on laravel 5.4

i installed laravel 5.4 and run phpunit command after that without making any changes. i get this error instead PHP Fatal Error: Unc...
04

How do I make one Dusk test carry on from another?

Pretty new to testing in general so I might be missing something basic here: I'm trying to just logically divide parts of my tests to differ...
00

It Was All Going So Well

Hey peeps I've been kicking out against testing for too long. Despite, deep down, knowing that's it's just the right way. So, I'm gritting m...
04

Populating database with images with Faker

I want to populate my database with images and in my UserFactory.php I have: 'picture' => $faker->image('public/storage/image...
19

Clicking Multiple Links

Hi All, I am trying to use dusk to test a number of links on my site. The text for each link can vary, the number of links can vary. Each li...
02

Testing JSON APIs, specifically: assertJsonStructure

Per the Laravel 5.4 documentation: $response->assertJsonStructure(array $structure); ...should "assert that...
02

PHPUnit command not found

Hi Laracasts, I'm making an API in Laravel 5 and I have some unit tests. When I started the project I was able to run phpunit...
22

Dusk throws exception - RouteCollection on 179 line

Hello, After update from 5.2 to 5.4. Tried to launch Dusk using basic test - 'ExampleTest' . public function testBasicExampl...
00

Create remote data prior to Dusk test run

Hello, I have sort of a unique scenario where I need to hit an API endpoint prior to and just after running Dusk tests to first create sample data...
00

Catching abort() exception code with Laravel TestCase

Hi! I have simple middleware and i want to test it. Middleware: public function handle($request, Closure $next) {...
03

Mock response during Dusk Testing

Hi, I have the following situation: 1- I have customized Laravel auth register according to my own needs (used Vue and perfomed regis...
05

Use laravel api test on slim project

Hi people , i'm currently working in a project made with slim framework and i want to know if its possible to use the nice api test json that la...
03