evrentan/spring-boot-project-example

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

evrentan opened this issue · 0 comments

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