36 Commits

Author SHA1 Message Date
Andy Wilkinson
c7bde714d6 Migrate tests to JUnit 5
Closes gh-959
2025-06-03 16:47:20 +01:00
Andy Wilkinson
59d13adf62 Merge branch '3.0.x' 2025-06-03 13:19:37 +01:00
Andy Wilkinson
c1266abe9f Upgrade to Compatibility Test Plugin 0.0.4 2025-06-03 11:13:22 +01:00
Andy Wilkinson
8fd536c637 Remove commons-logging excludes
The spring-jcl module has been removed in Spring Framework 7 in
favor of Commons Logging 1.3. This commit removes the excludes
for commons-logging:commons-logging that werew required to ensure
that spring-jcl was used instead but that are no longer needed.

See gh-955
2025-02-03 10:00:28 +00:00
Andy Wilkinson
27145dfd0a Test compatibility with latest versions of REST Assured 2024-09-30 11:25:13 +01:00
Andy Wilkinson
f8e85f7ccf Upgrade to Tomcat 10.1.1
Closes gh-870
2022-11-18 17:48:37 +00:00
Andy Wilkinson
0c0962d52f Polish
Dependency was accidentally added in f5a629af.
2022-10-15 17:08:24 +01:00
Andy Wilkinson
f5a629af34 Handle form and query parameters separately
Previously, form and query parameters were handled together as
request parameters. Howeer, request parameters are a server-side
construct that's specific to the servlet specification. As such
they're not appropriate for the client-side documentation that
Spring REST Docs aims to produce.

This commit replaces support for documenting request parameters
with support for documenting query paramters found in the query
string of the request's URI and for documenting form parameters
found in the form URL encoded body of the request.

Closes gh-832
2022-10-12 10:18:33 +01:00
Andy Wilkinson
d38d79755b Restore support for REST Assured
Closes gh-784
2022-01-24 11:21:03 +00:00
Andy Wilkinson
d2a5bb26ea Drop support for REST Assured until it supports Jakarta EE 9
Closes gh-761
2021-11-18 15:41:37 +00:00
Andy Wilkinson
0f484e6644 Merge branch '2.0.x' 2021-11-18 15:41:04 +00:00
Andy Wilkinson
1a1fc9711d Exclude javax.xml.bind API in favor of jakarta.xml.bind API
Closes gh-758
2021-11-18 14:53:24 +00:00
Andy Wilkinson
68a981388a Exclude unwanted commons-logging dependencies
Closes gh-757
2021-11-18 14:47:35 +00:00
Andy Wilkinson
4223f70102 Upgrade to Spring Framework 6 and Jakarta EE 9
Closes gh-750
Closes gh-748
2021-11-17 11:18:00 +00:00
Andy Wilkinson
774bed30b9 Raise the minimum version of REST Assured to 4.4
Closes gh-752
2021-11-17 11:18:00 +00:00
Andy Wilkinson
ea3ac32701 Make use of Gradle's support for test fixtures
Closes gh-756
2021-09-28 10:08:24 +01:00
Andy Wilkinson
bf1bfc4075 Fix optional dependencies having compile scope in poms
Closes gh-729
2021-06-15 10:59:25 +01:00
Andy Wilkinson
09b21a91ed Adopt compatibility testing plugin
Closes gh-728
2021-05-21 18:08:07 +01:00
Andy Wilkinson
2ead1fb0d8 Upgrade to Gradle 6.8 and modernize the build
Closes gh-719
2021-04-28 20:59:20 +01:00
Andy Wilkinson
7a1a989765 Expand and update REST Assured compatibility testing
Closes gh-688
2020-07-13 10:53:28 +01:00
Andy Wilkinson
4bbc5b37b5 Perform compatibility testing against REST Assured 4.0 and 4.1
Closes gh-640
2019-09-13 13:02:51 +01:00
Andy Wilkinson
ceb844183d Merge branch '1.2.x' 2018-08-08 12:27:43 +01:00
Andy Wilkinson
7431426cf3 Update tests to use AssertJ
Closes gh-537
2018-08-08 11:22:57 +01:00
Andy Wilkinson
6986cb75a8 Remove deprecated code
Closes gh-387
2017-05-19 09:27:06 +02:00
Andy Wilkinson
9f67eaab70 List REST Assured dependencies as optional in pom
Previously, the use of compileOnly meant that the REST Assured
dependencies were omitted from pom for spring-restdocs-restassured.
This commit correct thr problem by using the propdeps' plugin's
optional configuration instead.

Closes gh-372
2017-04-07 17:03:32 +01:00
Andy Wilkinson
704257e93b Align generated Set-Cookie header with RFC 6265
Closes gh-378
2017-04-07 16:59:49 +01:00
Andy Wilkinson
78982cf515 Add support for REST Assured 3
Closes gh-262
2017-03-20 21:39:25 +00:00
Andy Wilkinson
e9ceeacd66 Merge branch '1.1.x' 2017-03-04 21:05:07 +00:00
Andy Wilkinson
7cb91f9963 Remove use of Spring Boot from REST Assured module's integration tests
Closes gh-360
2017-03-04 20:40:42 +00:00
Andy Wilkinson
1393182182 Upgrade Spring Boot-based samples and integration tests to use 1.4
Closes gh-327
2016-10-28 21:25:30 +01:00
Andy Wilkinson
6c6054178e Upgrade tests and samples to use Spring Boot 1.3.6.RELEASE 2016-07-22 14:41:45 +01:00
Andy Wilkinson
b804ebbe5a Add a description to the REST Assured module 2016-05-31 11:35:43 +01:00
Andy Wilkinson
d5a2dff210 Update the samples to use Spring Boot 1.3.5.RELEASE 2016-05-31 10:07:19 +01:00
Andy Wilkinson
f23d947cb5 Use Spring Boot 1.3.3 to test REST Assured module 2016-05-05 14:11:49 +01:00
Andy Wilkinson
ee865ce4ed Tolerate relocated test-related classes in Spring Boot 1.4 2016-02-22 10:13:35 +00:00
Andy Wilkinson
130b411e2a Add support for using REST Assured to generate documentation snippets
This commit adds a new module, spring-restdocs-restassured, that
can be used to generate documentation snippets when testing a service
with REST Assured.

Please refer to the updated reference documentation for details.

Thanks to Johan Haleby for making a change to REST Assured so that
path parameters could be documented.

Closes gh-102
2016-01-29 12:31:37 +00:00