liip / liip/LiipFunctionalTestBundle

Possibility to rebuild database after testrun

Open
#106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature move-to-fixtures-repository
Dominant language
PHP
Stars
648
Forks
179
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am just starting with this bundle and it might be possible that I am trying to use it wrong. As I understood I should loadFixtures() before I run a test against the DB. But 80% of my DB Tests, don't modify my database. Thats why I am searching for a way to build my database once on the start of my testsuite and then only reset it after it was modified.

Is this also possible with this bundle or do I need to use something different?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the bundle's loadFixtures() flow and the surrounding functional-test database helpers. Determine whether the database can be built once and reset only after tests modify it; done means the supported behavior and its usage are documented and covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.