Skip to content
Advertisement

Tag: parametrized-testing

junit 5 custom parametrized tests

I’m using Junit 5 parametrized tests with custom name as follow where PARAMETERIZED_TESTS_NAME_PLACEHOLDER is defined in its own utility class the problem I’m facing is that as I’m using extensively the parametrized tests, my code is cluttered by these @ParameterizedTest(name = PARAMETERIZED_TESTS_NAME_PLACEHOLDER). so I created a custom annotation to fix this but this annotation is ignored when I use it

Advertisement