liip / liip/LiipTestFixturesBundle
Make this working with in memory sqlite db to make tests faster
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 178
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
After setting the sqlite connection to:
```
sqlite:
driver: pdo_sqlite
memory: true
```
it gives troubles saying "undefined index: dbname in Test/WebTestCase.php on line 201", I've tried to hard set that value but in that case the tables are not created within the tests and ever query returns unknown table.
Would be a nice feature to add.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Test/WebTestCase.php at line 201 and trace how the sqlite connection expects the dbname setting. Reproduce the reported in-memory configuration and check how test tables are created. Done means functional tests run with an in-memory sqlite database without undefined-index or unknown-table errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sqlite
- Domain
- backend, databases, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100