diff --git a/src/main/resources/META-INF/maven/archetype-metadata.xml b/src/main/resources/META-INF/maven/archetype-metadata.xml
index 43b894cbc0a66d02b2b2a23e8fe5570c8d9b6727..c04af2464d7e86c7e808a8727ca84e2e453e3372 100644
--- a/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ b/src/main/resources/META-INF/maven/archetype-metadata.xml
@@ -135,6 +135,18 @@
**/*.*
+
+ src/test/java
+
+ **/*.java
+
+
+
+ src/test/resources
+
+ **/*.*
+
+
diff --git a/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
index c5cb65a0249d8e169a05035f296a600f2a4d940d..dc032ead284ebfb969bbefd9ad00c16781b09d58 100644
--- a/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
+++ b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/pom.xml
@@ -30,6 +30,11 @@
com.schbrain.framework
logger-spring-boot-starter
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
diff --git a/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/java/ApplicationTest.java b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/java/ApplicationTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..b74afecece037117f6040415ac31139e86a27576
--- /dev/null
+++ b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/java/ApplicationTest.java
@@ -0,0 +1,23 @@
+package ${package};
+
+import lombok.extern.slf4j.Slf4j;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@Slf4j
+@SpringBootTest
+public class ApplicationTest {
+
+ @BeforeEach
+ void init() {
+
+ }
+
+ @Test
+ void applicationTest() {
+ // write your testcase here
+ log.info("application started");
+ }
+
+}
\ No newline at end of file
diff --git a/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/resources/application.yaml b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/resources/application.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..76f82db845eda15b759d811a88add6dea67deb1e
--- /dev/null
+++ b/src/main/resources/archetype-resources/__subModuleNamePrefix__-web/src/test/resources/application.yaml
@@ -0,0 +1,8 @@
+spring:
+ application:
+ name: ${rootArtifactId}
+ profiles:
+ active: dev
+apollo:
+ bootstrap:
+ namespaces: application,jdbc-common,redis-common
\ No newline at end of file