Load all dependent fixtures when filtering by groups

Created on 18 June 2024, 11 days ago

Problem/Motivation

When giving my fixtures a group, I don't want to manually give that group to every dependency of that fixture. I want this module to resolve the dependencies for me.

Steps to reproduce

Fixture A has a dependency on fixture B. Loading all fixtures works as expected.

Now fixture A gets the group "Base". Loading fixtures of group "Base" leads to an error, because fixture B was not included.

Proposed resolution

Automatically resolve and add dependencies of fixtures after filtering by groups.

Remaining tasks

  • Refinement/Discussion
  • Tests/Implementation
✨ Feature request
Status

Needs review

Version

3.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany tgauges

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @tgauges
  • Status changed to Needs review 11 days ago
  • πŸ‡©πŸ‡ͺGermany tgauges

    This feature might be classified as a breaking change because the fixture loading behavior is changed. One could circumvent this by defining a new method/interface which can be voluntarily implemented in fixtures.

Production build 0.69.0 2024