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

Check that @TestTemplate methods are not public or private #138

Closed
wants to merge 1 commit into from

Conversation

dreis2211
Copy link
Contributor

Hi,

when looking at some tests in Spring-Boot - e.g. EmbeddedServletContainerJarDevelopmentIntegrationTests - I was wondering if we should extend the SpringJUnit5 rule with the functionality to apply its modifier visibility checks to methods annotated with @TestTemplate. This PR is an attempt to do so.

Let me know what you think.
Cheers,
Christoph

@dreis2211
Copy link
Contributor Author

@philwebb Given that you're the main contributor: Is there a chance this PR gets picked up? :)

@philwebb
Copy link
Contributor

Yeah, sorry about the lack of action on this. I need to have a sweep of all the PRs open against this project.

@dreis2211
Copy link
Contributor Author

No worries. I was just not certain if you've seen it at all :)

philwebb pushed a commit that referenced this pull request Dec 3, 2019
Update `SpringJUnit5Check` to check that `@TestTemplate` methods are not
public or private.

See gh-138
@philwebb philwebb closed this in 6b0dcf2 Dec 3, 2019
@philwebb philwebb added this to the 0.0.15 milestone Dec 3, 2019
@philwebb
Copy link
Contributor

philwebb commented Dec 3, 2019

Thanks @dreis2211 and sorry for the delay!

@philwebb philwebb modified the milestones: 0.0.15, 0.0.16, 0.0.17 Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants