Skip to content
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

Open
2 tasks
sbrannen opened this issue Jul 15, 2017 · 4 comments
Open
2 tasks

Move @TestFactory return type validation to IsTestFactoryMethod #949

sbrannen opened this issue Jul 15, 2017 · 4 comments

Comments

@sbrannen
Copy link
Member

sbrannen commented Jul 15, 2017

Overview

IsTestMethod and IsTestTemplateMethod currently validate that @Test and @TestTemplate methods have a void return type; however, IsTestFactoryMethod only validates that @TestFactory methods do not have a void 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

  • Move @TestFactory method return type validation from TestFactoryTestDescriptor to IsTestFactoryMethod.
  • Enable @Disabled tests in IsTestFactoryMethodTests.
@stale
Copy link

stale bot commented May 13, 2021

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.

@stale stale bot added the status: stale label May 13, 2021
@stale
Copy link

stale bot commented Jun 3, 2021

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.

@stale
Copy link

stale bot commented Apr 10, 2023

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.

@stale stale bot added the status: stale label Apr 10, 2023
@stale
Copy link

stale bot commented May 2, 2023

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.

@stale stale bot closed this as completed May 2, 2023
@marcphilipp marcphilipp reopened this May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants