-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forbid return values from test and lifecycle methods #835
Comments
Team decision: Forbid via test predicates that exclude such methods. |
5 tasks
in progress |
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
These modifieres were removed in a cleanup issue a while ago but should in fact be tested explicitly. #835
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 13, 2017
7 tasks
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
These modifieres were removed in a cleanup issue a while ago but should in fact be tested explicitly. #835
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
mmerdes
pushed a commit
that referenced
this issue
Jul 14, 2017
2 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Status Quo
In the JUnit Jupiter programming model it is currently not forbidden for
@Test
and lifecycle methods (i.e.,@BeforeEach
,@BeforeAll
, etc.) to have a return value, even if it's assumed that no one declares anything other thanvoid
as a return type for such methods.For example, the following currently execute.
Related Issues
Deliverables
The text was updated successfully, but these errors were encountered: