You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a followup to #4060, we need to update the Javadoc and the Annotations section of the User Guide to mention that @TempDir can be used not only on fields and lifecycle/test method parameters but also on test class constructor parameters.
According to the changes in #4060 it's already documented. Did I miss a spot?
The Javadoc has not been updated yet, and although 99% of the User Guide has been updated, the Annotations overview section has not yet been updated.
I originally noticed it in the Javadoc, and quick search in the User Guide led me to believe that it hadn't been done in the User Guide either. So I created this issue to make sure we didn't forget about those spots (because I couldn't reopen the PR).
I just updated this issue's title and description to reflect that.
sbrannen
changed the title
Document that @TempDir can be used on constructor parameters
Fully document that @TempDir can be used on constructor parameters
Jan 29, 2025
Overview
As a followup to #4060, we need to update the Javadoc and the Annotations section of the User Guide to mention that
@TempDir
can be used not only on fields and lifecycle/test method parameters but also on test class constructor parameters.Related Issues
@TempDir
#4060AnnotatedElement
description in@TempDir
log messages #4282The text was updated successfully, but these errors were encountered: