lundi 22 juillet 2019

Junit5: Displaying test paremeters for ParameterizedTest in results on Jenkins

I use Junit5 parameterized tests and execute tests on Jekinks. I have test case which takes two parameters: one is Currency object and second is State object). After executing test cases I have results displayed on Jenkins like below:

*testName{Currency,State}[1]

testName{Currency,State}[2]

...

testName{Currency,State}[n]*

I'd like to have in test name real value of parameters which were used in given case, eg.

testName(USD, PERMAMNENT)

Is there any workaround to achieve this ?

Aucun commentaire:

Enregistrer un commentaire