Stephane Nicoll
5a86162ff3
Polish "Simplify code"
...
See gh-23111
5 years ago
EruDev
ffc577b499
Simplify code
...
See gh-23111
5 years ago
dreis2211
51c9dee899
Use DynamicPropertySource in MongoDB tests
...
See gh-23127
5 years ago
Andy Wilkinson
5cd910c7ce
Replace Embedded Mongo with Testcontainers' MongoDB support
...
Closes gh-23090
5 years ago
Andy Wilkinson
cf0036992f
Increase timeouts used in Cassandra integration tests
...
Closes gh-23083
5 years ago
Phillip Webb
3271542d98
Add @Interited to @TypeExcludeFilters
...
Update `@TypeExcludeFilters` so that it is also annotated with
`@Inherited`.
Closes gh-22939
5 years ago
Madhura Bhave
bbbbe8e4d2
Make security auto-configs back off when SecurityFilterChain present
...
Closes gh-22739
5 years ago
Scott Frederick
2a998a4373
Fix DataNeo4jTestReactiveIntegrationTests
...
See gh-22940
5 years ago
Stephane Nicoll
045d2f678d
Document Spring Data Neo4j 6 support
...
Closes gh-22652
5 years ago
Johnny Lim
68e2dd626d
Mention configuration customizers for WebTestClient and RestAssured
...
See gh-22765
5 years ago
Andy Wilkinson
969dd35e45
Upgrade to Mockito 3.4.6
...
Closes gh-22838
5 years ago
Phillip Webb
f7f4ff0ac9
Update copyright year of changed files
5 years ago
Stephane Nicoll
dac63fc3e5
Polish
5 years ago
Stephane Nicoll
313b2bef6f
Polish "Add test slice for Spring Data Cassandra"
...
See gh-17490
5 years ago
ayudovin
ae152b176b
Add test slice for Spring Data Cassandra
...
See gh-17490
5 years ago
Stephane Nicoll
36fb86a110
Update to core r2dbc support
...
This commit adapts the auto-configuration for the new core r2dbc support
in Spring Framework and provides auto-configuration for
R2dbcEntityOperations.
Closes gh-22708
5 years ago
Andy Wilkinson
22dc4e7608
Clarify documentation on @AutoConfigureRestDocs with WebTestClient
...
Closes gh-15977
5 years ago
Stephane Nicoll
9bc71fe44f
Polish "Upgrade to Spring Data Neo4j 6"
...
See gh-22299
5 years ago
Gerrit Meier
15cd343737
Upgrade to Spring Data Neo4j 6
...
See gh-22299
5 years ago
Andy Wilkinson
1c3528f5a4
Include Jackson Modules in WebMvcTest and WebFluxTest
...
Fixes gh-22530
5 years ago
Stephane Nicoll
3530ac9b0c
Polish "Disable metrics export in integration tests"
...
See gh-21658
5 years ago
bono007
b1830da0da
Disable metrics export in integration tests
...
This commit introduces a new property to globally disable metrics
export. In integration tests, this property is automatically set to
disable everything but in-memory metrics.
This commit also introduces a `@AutoConfigureMetrics` annotation that
can be used for integration tests that require metrics export to operate
as they would in an application.
See gh-21658
5 years ago
Andy Wilkinson
0d6ea79007
Start building against Spring Framework 5.3.0 snapshots
...
See gh-21929
6 years ago
dreis2211
855d596c2a
Use lazy lambda instead of explicit argument
...
See gh-21986
6 years ago
Andy Wilkinson
9636350b0b
Enable rawtypes compilation warnings
...
See gh-21271
6 years ago
Andy Wilkinson
47874d8c6a
Treat warnings as errors when compiling
...
See gh-21271
6 years ago
Andy Wilkinson
48acaa4bd9
Make AutoConfigureMockMvc use SecurityProperties' filter ordering
...
Previously, AutoConfigureMockMvc used Spring Security's default filter
ordering, ignoring the value configured by SecurityProperties that is
used at runtime. This resulted in different ordering at runtime and in
tests.
This commit updates the configuration for AutoConfigureMockMvc to
import the Spring Security filter auto-configuration, thereby ensuring
that the ordering configured via SecurityProperties is applied.
Fixes gh-21801
6 years ago
dreis2211
b498d3903f
Upgrade to Testcontainers 1.14.2
...
See gh-21581
6 years ago
Stephane Nicoll
77981ac2ae
Polish "Use the container IP address for tests using TestContainer"
...
See gh-21480
6 years ago
olivier lamy
0c2bf70bb8
Use the container IP address for tests using TestContainer
...
See gh-21480
6 years ago
Phillip Webb
194c9fac64
Polish 'Add @WebServiceClientTest slice test support'
...
See gh-17274
6 years ago
Dmytro Nosan
a4104ab096
Add @WebServiceClientTest slice test support
...
Add `@WebServiceClientTest` and related test auto-configuration to allow
slice testing of Spring Web Service client applications.
See gh-17274
6 years ago
Andy Wilkinson
83e4bb39b6
Add transaction auto-configuration to @DataMongoTest
...
Closes gh-20182
6 years ago
Stephane Nicoll
12123d41e5
Make sure @DataR2dbcTest invokes database migration if necessary
...
Closes gh-20739
6 years ago
Andy Wilkinson
ce95fd6825
Polish "Use @DynamicPropertySource for Neo4J and Redis data tests"
...
See gh-20676
6 years ago
dreis2211
d84422a41c
Use @DynamicPropertySource for Neo4J and Redis data tests
...
See gh-20676
6 years ago
Stephane Nicoll
6817856e7d
Add test slice for Spring Data R2DBC
...
This commit adds a test slice for Spring Data R2DBC. When
`DataR2dbcTest` is added on a test, only Spring Data R2DBC repositories
and the infrastructure that they need is auto-configured.
Contrary to the JDBC counterpart, the `ConnectionFactory` is not swapped
by an embedded database.
See gh-19988
Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
6 years ago
Johnny Lim
8be8a8421d
Polish
...
See gh-20226
6 years ago
dreis2211
aa0360e1ba
Fix some deprecation warnings
...
See gh-20108
6 years ago
Madhura Bhave
0a377647ca
Import OAuth2 auto-configurations in web slice tests
...
Fixes gh-19823
6 years ago
Stephane Nicoll
bae1d8d780
Polish "Use new AssertJ duration assertions"
...
See gh-19985
6 years ago
dreis2211
fac6f08ca3
Use new AssertJ duration assertions
...
See gh-19985
6 years ago
Scott Frederick
288889685d
Change default BootstrapMode for JPA repositories
...
Change the default `BootstrapMode` for auto-configured `JpaRepositories`
to `BootstrapMode.DEFERRED` to allow the initialization of
`EntityManagerFactory` to be parallelized for increased startup efficiency.
Prior to this change, the default BootstrapMode for all auto-configured
Spring Data repositories was `BootstrapMode.DEFAULT`.
Closes gh-16230
6 years ago
Scott Frederick
8f102aee68
Remove deprecated 2.2 code
...
See gh-19699
6 years ago
Phillip Webb
862462b791
Update copyright year of changed files
6 years ago
Stephane Nicoll
8b8a4ee65e
Polish "Make equality checks defensive to null reference"
...
See gh-19540
6 years ago
liuhuan
6d8b849361
Make equality checks defensive to null reference
...
See gh-19540
6 years ago
Andy Wilkinson
ce99db1902
Port the build to Gradle
...
Closes gh-19609
Closes gh-19608
6 years ago
dreis2211
6ffe47cd06
Remove deprecated usage of WebTestClientBuilderCustomizer
...
See gh-19536
6 years ago
Andy Wilkinson
e26d5d95a8
Do not enable @ConfigurationPropertiesScan be default
...
In 2.2.0, @ConfigurationPropertiesScan was enabled by default.
Unfortunately, this had the unexpected side-effect of breaking
conditional enablement of a @ConfigurationProperties class via
@EnableConfigurationProperties if the @ConfigurationProperties class
was in a package covered by scanning.
This commit remove @ConfigurationPropertiesScan from
@SpringBootApplication so that it is no longer enabled by default.
2.1.x users who rely upon such conditional enablement of
@ConfigurationProperties classes can now upgrade to 2.2.x without
having to make any changes. Users who do not have such a need and are
in a position to use configuration properties scanning can now opt-in
by adding @ConfigurationPropertiesScan to their main application class
alongside @SpringBootApplication .
Closes gh-18674
6 years ago