We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6a02e commit 871b6c8Copy full SHA for 871b6c8
README.md
@@ -32,10 +32,10 @@ It consists of just an Hibernate SQL inspector service and a Spring Test Listene
32
- Register the Spring TestListener that will launch the SQL inspection is the annotation is present
33
By adding the listener on each of your integration test:
34
35
- @SpringBootTest(webEnvironment = RANDOM_PORT)
+ @SpringBootTest
36
@TestExecutionListeners(listeners = HibernateStatementCountTestListener.class, mergeMode = TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS)
37
class TestDatasourceProxyApplicationTests {
38
- ...
+ ...
39
}
40
41
Or globally by adding a META-INF/spring.factories file that contains the listener:
0 commit comments