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

contextLoads() Test Failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration #13

Closed
evrentan opened this issue Jan 24, 2022 · 0 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@evrentan
Copy link
Owner

Describe the bug
contextLoads() Test Failed with "java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, ou need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test" error.

To Reproduce
Steps to reproduce the behavior:

  1. Run contextLoads test
  2. See error

Expected behavior
Test should be completed successfully.

Screenshots

image

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
Related SureFire report is attached.

evrentan.examples.springbootprojectexample.SpringBootProjectExampleApplicationTests.txt

@evrentan evrentan added the bug Something isn't working label Jan 24, 2022
@evrentan evrentan self-assigned this Jan 24, 2022
@evrentan evrentan added this to To do in Spring Boot Project Example Kanban Board via automation Jan 24, 2022
@evrentan evrentan linked a pull request Jan 24, 2022 that will close this issue
Spring Boot Project Example Kanban Board automation moved this from To do to Done Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant