Andy Wilkinson
a2b906ba51
Correct import in WebMvcTestSaml2Tests
...
Closes gh-47149
3 months ago
Andy Wilkinson
11cbb6aff2
Relocate tests that don't need to be in test-autoconfigure
...
Closes gh-47144
3 months ago
Stéphane Nicoll
1e5afaf35c
Document spring.test.webtestclient.timeout
...
Closes gh-46577
5 months ago
Stéphane Nicoll
4f875ad39b
Rely on configuration properties annotation processor
...
This commit switches from manual metadata to using the configuration
properties annotation processor like other modules do. This reduces
the amount of manual metadata, document missing properties and prevent
inconsistencies going forward.
Closes gh-46584
5 months ago
Stéphane Nicoll
1e52d54d16
Polish "Document spring.test.mockmvc configuration properties"
...
See gh-46576
5 months ago
Stéphane Nicoll
a364a05929
Document spring.test.mockmvc configuration properties
...
Closes gh-46576
5 months ago
Piyal Ahmed
2b14cfee3c
Remove unnecessary toString() call
...
See gh-46259
Signed-off-by: Piyal Ahmed <piya.salamence@gmail.com>
6 months ago
Phillip Webb
3aeb18d618
Add license header to gradle files
...
See gh-46065
6 months ago
Phillip Webb
d66b28fcba
Update end copyright year to 'present'
...
See gh-46065
6 months ago
Tran Ngoc Nhan
8fcc1dd0fe
Update javadoc of test slice annotations to suggest MockitoBean rather than MockBean
...
See gh-45887
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
6 months ago
Stéphane Nicoll
01e9baa225
Fix test dependencies of WebMvcTestOAuth2Tests
...
This commit fixes the dependencies of spring-boot-test-autoconfigure so
that it does not depend on a starter.
See gh-45654
7 months ago
Dmytro Nosan
c07a67706b
Add support for SAML2 with @WebMvcTest
...
See gh-45650
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
7 months ago
Dmytro Nosan
4c3c7b4543
Add WebMvcTestOAuth2Tests
...
See gh-45654
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
7 months ago
Phillip Webb
b2e691be02
Update copyright year of changed files
8 months ago
Phillip Webb
428fa6d941
Fix copyright headers to consistently start with project inception year
8 months ago
Johnny Lim
08c67cc353
Replace deprecated Project.task()
...
See gh-45009
Signed-off-by: Johnny Lim <izeye@naver.com>
8 months ago
Phillip Webb
88e8c17369
Update copyright year of changed files
9 months ago
Phillip Webb
f2d367a130
Update 'for removal in' comments since 3.5 will be the last 3.x release
...
Closes gh-44959
9 months ago
Stéphane Nicoll
2a94ee1586
Polish contribution
...
See gh-44348
10 months ago
Bernie Schelberg
b9438bef9e
Consider properties on outer class in nested @DataJpaTest tests
...
See gh-44348
Signed-off-by: Bernie Schelberg <bernard.schelberg@invicara.com>
10 months ago
Johnny Lim
4d15ee5bf0
Polish
...
See gh-43498
1 year ago
Andy Wilkinson
5d63335a5c
Polish "Use constants for well-known scope names"
...
See gh-43065
1 year ago
Yanming Zhou
03841b1229
Use constants for well-known scope names
...
See gh-43065
1 year ago
Phillip Webb
23607ee4c4
Add nullSafeValue method that accepts a mapper Function
...
Update `JsonObjectDeserializer` with a `nullSafeValue` method that
accepts a mapper `Function`
Closes gh-42972
1 year ago
Tran Ngoc Nhan
fcbf6b0200
Polish
...
See gh-42798
1 year ago
Phillip Webb
3481107ff7
Update copyright year of changed files
1 year ago
Phillip Webb
168d82e138
Polish
1 year ago
Andy Wilkinson
1020793198
Output condition evaluation report when app under test fails to start
...
Closes gh-42185
1 year ago
Moritz Halbritter
ce106eb43c
Remove calls to deprecated Project.getBuildDir() in Gradle files
...
Closes gh-42739
1 year ago
Moritz Halbritter
a3060652f8
Call String.toLowerCase and .toUppercase with explicit locale
...
Closes gh-42719
1 year ago
Stéphane Nicoll
0c0acb4339
Polish "Use RootBeanDefinition if possible"
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
1 year ago
Yanming Zhou
7427304b3d
Use RootBeanDefinition if possible
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
1 year ago
Stéphane Nicoll
a40ae49a76
Upgrade to Testcontainers 1.20.2
...
Closes gh-42670
1 year ago
Johnny Lim
1585c5a109
Polish
...
See gh-42503
1 year ago
Phillip Webb
ad72411e2b
Apply conventions plugin to all subprojects
...
Closes gh-42438
1 year ago
Phillip Webb
3723a9e040
Support Testcontainer JDBC URLs with `Replace.NON_TEST`
...
Update `TestDatabaseAutoConfiguration` so that Testcontainer JDBC URLs
are also detected when using `Replace.NON_TEST`.
Closes gh-35253
1 year ago
Phillip Webb
8628f7334f
Ensure `@AutoConfigureTestDatabase` does not replace test databases
...
Update `@AutoConfigureTestDatabase` support so that by default test
databases are not replaced.
Fixes gh-35253
1 year ago
Scott Frederick
e7faca3bbb
Add support for Testcontainer Redis
...
Add support for the official `com.redis:testcontainers-redis` container.
See gh-41450
1 year ago
Stéphane Nicoll
8a253d1db7
Fix formatting
1 year ago
Stéphane Nicoll
f1e5108b59
Improve Javadoc of slice test annotations
...
This commit harmonizes the phrasing that we use to describe what
components are considered for scanning when a slice test is enabled.
This makes the description of the default filter explicit, with an
exhaustive description of the annotations and/or base classes.
Closes gh-41914
1 year ago
Andy Wilkinson
163581cfe8
Rename DataLdapTestIntegrationTests to remove clash
...
Closes gh-41617
1 year ago
Andy Wilkinson
5f666eec5b
Reduce warnings reported by Eclipse
...
Closes gh-41598
1 year ago
Phillip Webb
61dc82d836
Update copyright year of changed files
1 year ago
Eddú Meléndez
31d2bebd49
Add support for ServiceConnection in DataLdapTest
...
See gh-41325
1 year ago
Andy Wilkinson
cddf92e047
Polish "Deprecate @MockBean and @SpyBean"
...
See gh-39864
1 year ago
Andy Wilkinson
375b3b16a0
Remove APIs that were deprecated for removal in 3.4.0
...
Closes gh-41435
1 year ago
Stéphane Nicoll
156237227c
Migrate MockMvc tests to MockMvcTester
...
See gh-41198
1 year ago
Stéphane Nicoll
e5859aedaf
Add auto-configuration for MockMvcTester
...
This commit adds auto-configuration and documentation for MockMvcTester,
a wrapper of MockMvc that provides AssertJ integration as well as a
fluent API to build requests. The main differences compared to the
regular MockMvc are as follows:
* No need for static imports for building requests and define assertions
* No need to handle unchecked exception as they can be asserted instead
* Support for converting the response body to data types
Closes gh-41198
1 year ago
Andy Wilkinson
654016af7f
Move Docker-related test support into a separate module
...
See gh-41228
1 year ago
Andy Wilkinson
843de3adbc
Update spring-boot-test-autoconfigure to use docker-test plugin
...
See gh-41228
1 year ago