junit-team/junit-examples

Help | Is there any way I can add @Tags dynamically from Test Data

Closed this issue · 1 comments

I want to have the ability to add @tags from the test data file. This will be dynamic. Is this possible?

Best,
CK

No, that's currently not possible. Tags need to be known before test start executing because they are used for filtering the set of tests. Please open an issue in the junit5 repo and describe your use case in more detail.