Currently the @Titel annotation is not considered for the report on Junit5 test methods unless they are public. Consistently with Junit4 the @Title annotation does not influence the name in the Junit report.
Problem: testClass.getMethod(baseMethodName) in ?net.thucydides.core.annotations.TestAnnotations#getMethodCalled assumes that the test method is public
WORKAROUND: declare test method annotated with @Title as public
Currently the
@Titel
annotation is not considered for the report on Junit5 test methods unless they are public. Consistently with Junit4 the@Title
annotation does not influence the name in the Junit report.net.thucydides.core.annotations.TestAnnotations#getAnnotatedTitle
net.thucydides.core.annotations.TestAnnotations#getAnnotatedTitleForMethod
net.thucydides.core.annotations.TestAnnotations#testClassHasMethodCalled
testClass.getMethod(baseMethodName)
in ?net.thucydides.core.annotations.TestAnnotations#getMethodCalled
assumes that the test method is publicWORKAROUND: declare test method annotated with
@Title
as public