Questions tagged as 'phpunit'

0
answers

PHPUnit test error csrf Laravel, in gitlab CI / CD docker

I am having problems when writing POST requests in the integration tests, in the local machine where I launch the tests they pass without problems, but in the docker container of gitlab fail by the token csrf, even if I put the token in the peti...
asked by 19.11.2018 / 22:14
1
answer

How to do unit tests with phpUnit to the laravel drivers?

I still have a lot of doubt about doing unit tests to the drivers that I believe in laravel, for example: employeeController, where this has methods like index, store, edit, Does anyone know how to perform these tests on the controller's methods...
asked by 09.11.2018 / 04:01
1
answer

Run unit tests with Phpunit in lumen

Hi, I have a project of lumen with the file phpunit that comes by default that is just like this one <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstra...
asked by 28.02.2018 / 14:01