Skip to content

Factor out fixture handling to a separate gem #449

Open
@ekohl

Description

@ekohl

Use Case

Currently the fixture code is stored inside this gem, but I have another use case (acceptance testing) where I need it. There I don't need puppetlabs_spec_helper (and would even consider dropping it altogether in Vox Pupuli).

Describe the Solution You Would Like

If the code lived in a separate gem, I could just pull that in.

In addition to that, it could properly spec out the file format and behavior.

Additional Context

I have started https://github.com/ekohl/puppet_fixtures, which has a slightly different implementation to allow for better multi-threading. It uses a simple queue and then each thread processes items in the queue.

The current gem could use more testing and documentation, but I'd like to start the conversation on factoring it out. If we don't agree on it, it can bring a split in the community which I'd prefer to avoid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions