contextLoads() Test Failed with java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration
evrentan opened this issue · 0 comments
evrentan commented
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:
- Run contextLoads test
- See error
Expected behavior
Test should be completed successfully.
Screenshots
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