Skip to content

FEAT: Support custom name for parametrized tests #73

@danglotb

Description

@danglotb

For now, we do support JUnit4 parametrized test methods that have a default name, i.e. test[{index}], where test is the name of the test method and index is the index of the parameter used.

However, one can specify a custom name for such test using the annotation value name such as:

"{index}: array = {0}; nothingis {1}"

where variables between curly brackets {...} are replaced by values. For instance, we can have:

0: array = 1; nothingis 2`

There are two issues:

  1. the current implementation of the filter won't recognize such names and test-runner won't find any tests to be run.
  2. test-runner uses classic java command lines to run the test. Providing such names, that contain spaces and path separator ;, would be for now impossible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions