Skip to content

Possibility to customize element resolving #518

Closed
@aaschmid

Description

@aaschmid

Hi @sbrannen,

according to your last comment on TNG/junit-dataprovider#75, I looked deeper into the Extension API. I agree that I do not want to provide a custom test engine. Maybe you can help me about implementing an extension for junit-dataprovider to run the tests with junit-jupiter rather than a complete test engine.

Correct me if I am wrong but as far as I understand the Extension API is currently not capable of registering additional test cases. However, extending the junit-jupiter framework to be able to register another ElementResolver could discover additional (dynamic) test cases which fit the junit-dataprovider programming model.

I found no issue / feature request concerning this topic, so I opend this one. Have you already thought about the possibility of register custom ElementResolver or does that fit into your vision of junit5? I would love to help out providing a pull request if you give me a little vision how you could think about a good solution for it.
At my first tries it felt natural to use the Extension API for this but while doing so, I saw that it is only available / used within org.junit.platform.engine.TestEngine.execute(ExecutionRequest).

Cheers,
Andreas

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