Skip to content

Provide full example for the current version of Spring Boot #722

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

Closed
ccleve opened this issue May 11, 2021 · 1 comment
Closed

Provide full example for the current version of Spring Boot #722

ccleve opened this issue May 11, 2021 · 1 comment
Labels
status: declined Suggestion or change that we don't want to make at this time

Comments

@ccleve
Copy link

ccleve commented May 11, 2021

As of today, the current version of Spring Boot is 2.4.5. There are no sample applications that show how to make this project work with Junit 5 and the current testing style (@SpringBootTest, etc.).

There are Junit5 snippets in the documentation for this project, but they lack import statements and need some surgery to get them to work.

Just do a simple, working application that tests a Rest endpoint and generates API documentation.

@wilkinsona
Copy link
Member

There's a JUnit-5 based sample that's linked from the reference documentation. It uses @SpringBootTest and works as-is when upgraded to Spring Boot 2.4.5.

I've opened #723 to upgrade all of the Spring Boot-based samples to use 2.4.5, but I can't see a need for a new sample. Thanks anyway for the suggestion.

@wilkinsona wilkinsona added status: declined Suggestion or change that we don't want to make at this time and removed status: waiting-for-triage Untriaged issue labels May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined Suggestion or change that we don't want to make at this time
Projects
None yet
Development

No branches or pull requests

3 participants