Skip to content

Support inline CSV in @DatasetSource annotation via csv() attribute #7

@fkapsahili

Description

@fkapsahili

Is your feature request related to a problem? Please describe.

The @DatasetSource annotation in dokimos-junit5 supports inline JSON via the json() attribute, but currently there is not equivalent for CSV, which means that for simple tabular CSV-like test data, users must use JSON or create separate test files.

Describe the solution you'd like

Add a csv() attribute to @DatasetSource.

Additional context

CSV parsing already exists via Dataset.fromCsv(), so this would just expose it through the JUnit annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions