Skip to content

Commit 4f4888c

Browse files
committed
Add spring-test-profiler
The plugin creates a report of spring boot tests.
1 parent 1a01a1c commit 4f4888c

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
<testcontainers.version>1.21.3</testcontainers.version>
132132
<testng.version>7.11.0</testng.version>
133133
<xmlunit-assertj3.version>2.10.3</xmlunit-assertj3.version>
134+
<spring-test-profiler.version>0.0.5</spring-test-profiler.version>
134135
</properties>
135136

136137
<dependencyManagement>
@@ -321,6 +322,12 @@
321322
<artifactId>mockito-core</artifactId>
322323
<scope>test</scope>
323324
</dependency>
325+
<dependency>
326+
<groupId>digital.pragmatech.testing</groupId>
327+
<artifactId>spring-test-profiler</artifactId>
328+
<version>${spring-test-profiler.version}</version>
329+
<scope>test</scope>
330+
</dependency>
324331
</dependencies>
325332
</dependencyManagement>
326333

server/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@
149149
<artifactId>mockito-kotlin</artifactId>
150150
<scope>test</scope>
151151
</dependency>
152+
<dependency>
153+
<groupId>digital.pragmatech.testing</groupId>
154+
<artifactId>spring-test-profiler</artifactId>
155+
<scope>test</scope>
156+
</dependency>
152157
</dependencies>
153158

154159
<build>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Copyright 2017-2025 Adobe.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
org.springframework.test.context.TestExecutionListener=digital.pragmatech.testing.SpringTestProfilerListener

0 commit comments

Comments
 (0)