Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Support custom name for parametrized tests #73

Open
danglotb opened this issue Jun 7, 2019 · 0 comments
Open

FEAT: Support custom name for parametrized tests #73

danglotb opened this issue Jun 7, 2019 · 0 comments

Comments

@danglotb
Copy link
Member

danglotb commented Jun 7, 2019

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant