Developer 역할 Spring 골격 smoke (role-developer-live-1522-001)
This commit is contained in:
parent
f4c99e67d7
commit
2453d71f0f
1 changed files with 15 additions and 0 deletions
15
src/test/java/com/example/demo/DemoApplicationTests.java
Normal file
15
src/test/java/com/example/demo/DemoApplicationTests.java
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
package com.example.demo;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
import org.springframework.test.context.TestPropertySource;
|
||||||
|
|
||||||
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||||
|
@TestPropertySource(properties = {"spring.main.allow-bean-definition-overriding=true"})
|
||||||
|
class DemoApplicationTests {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void contextLoads() {
|
||||||
|
// Smoke test: verify Spring context loads successfully
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue