Test counter in Gradle's descriptor name does not exist if there are no XML parameters


(Steve Petropulos) #1

Greetings. Gradle will usually append a useful counter to the end of a test name. If I have a method named Test() that takes the parameter foo, Gradle will call this test Test[0](foo). If there is no parameter, the (foo) portion gets removed as expected but the [0] is removed as well. I would like to keep the [0] when there are no parameters. It is useful in tracking test retries.