Skip to content

How to run a specific parameter set in parameterized tests using --filter option #542

Description

@chokuto

I have been using Criterion for running parameterized tests and encountered an issue when trying to run a specific parameter set using the --filter option.

I would like to run only the test with a specific parameter. I tried using the --filter option like this:

./test --filter 'suite_name/test_name/1'

However, it seems this approach does not work as expected. I need to be able to run and debug specific parameter sets in parameterized tests.

Could you please provide guidance on how to achieve this? Is there a specific way to filter and run only the tests with certain parameters in parameterized tests using Criterion? If not, is there a recommended workaround or an alternative approach to accomplish this?

Thank you for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions