Skip to content

Providing fixtures to non-python tests #3639

Closed
@iliakur

Description

@iliakur

This is more of a question, I couldn't quite figure it out from either the docs or a skim of the code.

I'm generating tests from yaml similarly to what's described here. Unfortunately, these test cases rely on some fixtures used in other tests (so I'd like to keep them as fixtures). Is there a way to feed them to the items I create?

I've considered the tried-and-true method of adding another layer of indirection and defining some functions that both the fixtures and my yaml-to-test code would use, but was wondering if there's a more canonical way to make this happen

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsdocumentation improvement, missing or needing clarificationtype: questiongeneral question, might be closed after 2 weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions