LiipFunctionalTestBundle
LiipFunctionalTestBundle copied to clipboard
Some helper classes for writing functional tests in Symfony
One test of `AllowedQueriesExceededException` and some other things were broken on the main branch, I fixed these issues in another PR: #604 I'm not happy with the change of `max_query_count`...
**Is your feature request related to a problem? Please describe.** No. **Describe the solution you'd like** Replace GitHub templates with forms. See this example: https://github.com/NVIDIA/open-gpu-kernel-modules/pull/127 **Describe alternatives you've considered** ....
### Preconditions 1. PHP 8.0 2. Symfony 5.4 3. liip/functional-test-bundle 4.5 ### Steps to reproduce 1. rename Symfony test environment to testing 2. create a test like following ``` namespace...
### Preconditions 1. PHP 8.0 2. Symfony 5.4 2. liip/functional-test-bundle 4.5 ### Steps to reproduce 1. rename Symfony test environment to testing 2. create a test like following ``` namespace...
Hello there, According to [symfony official documentation](https://symfony.com/doc/current/testing.html#your-first-functional-test) in order to test a controller you have to initialize a client like this: ``` $client = static::createClient(); ``` And this is what...
I am trying to upgrade my app to Symfony 5.3. Previously this worked in 5.2.11 with functional-test-bundle 4.4.0 and test-fixtures-bundle 1.11.2. After upgrading to most recent versions of all, I...
There is memory leak in WebTestCase because method getContainer creates new kernel which is never shutdown. So in my project I was need more then 4Gb of memory to pass...
Hello, I followed the guide to authenticate using `WebTestCase::loginAs()` but it's not working and it's redirecting me to the login page. This is my config_test.yml: ``` imports: - { resource:...
Is it possible to do it? I tried without adding the path to the sqlite database but it didn't work as expected: ``` SQLSTATE[HY000]: General error: 11 database disk image...
### Preconditions 1. Bundle version 4.0 2. PHP Unit version 7.5.20 3. Symfony version 5.0.5 4. PHP version 7.3.13 5. My `.env.test` looks like this: ``` DATABASE_URL=sqlite:///%kernel.project_dir%/var/data/test.sqlite ``` and the...