junit4 icon indicating copy to clipboard operation
junit4 copied to clipboard

Create additional Description.createSuiteDescription builder method.

Open scottresnik opened this issue 10 years ago • 3 comments
trafficstars

Add the following builder method: public static Description createSuiteDescription(Class<?> clazz, String name, Annotation... annotations) which calls the private Description(Class<?> clazz, String displayName, Annotation... annotations) constructor.

This would be an alternative to #117.

scottresnik avatar Apr 30 '15 16:04 scottresnik

We'd probably do this as part of the Description builder work we were working on for JUnit 5.

kcooney avatar Apr 30 '15 17:04 kcooney

If I created a pull request for this change, do you think it would make it into the 4.x line? It's a pretty simple change.

scottresnik avatar May 11 '15 12:05 scottresnik

I don't think we'll have a 4.13, and we hope to have the Builder work done for 5.0

kcooney avatar May 11 '15 13:05 kcooney