-
-
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
Move @TestFactory return type validation to IsTestFactoryMethod #949
Comments
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution. |
This issue has been automatically closed due to inactivity. If you have a good use case for this feature, please feel free to reopen the issue. |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. Thank you for your contribution. |
Closing due to lack of requested feedback. If you would like to proceed with your contribution, please provide the requested information and we will re-open this issue. |
Overview
IsTestMethod
andIsTestTemplateMethod
currently validate that@Test
and@TestTemplate
methods have avoid
return type; however,IsTestFactoryMethod
only validates that@TestFactory
methods do not have avoid
return type. Consequently,@TestFactory
return types are not validated during the discovery phase.On the other hand,
@TestFactory
return types are in fact validated during the execution phase, but this is late and inconsistent with the behavior for all other types of testable methods.Related Issues
Deliverables
@TestFactory
method return type validation fromTestFactoryTestDescriptor
toIsTestFactoryMethod
.@Disabled
tests inIsTestFactoryMethodTests
.The text was updated successfully, but these errors were encountered: