From da1e49703b34bfebe602611953d9208722de2f20 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 22 Mar 2016 13:02:27 -0700 Subject: [PATCH] Add JSONassert and JsonPath to the test starter Update spring-boot-starter-test to include JSONassert and JsonPath. Both are generally useful libraries when writing MVC tests. Fixes gh-5469 --- spring-boot-starters/spring-boot-starter-test/pom.xml | 8 ++++++++ .../src/main/resources/META-INF/spring.provides | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/spring-boot-starters/spring-boot-starter-test/pom.xml b/spring-boot-starters/spring-boot-starter-test/pom.xml index 432c59b4132..e921b239ee5 100644 --- a/spring-boot-starters/spring-boot-starter-test/pom.xml +++ b/spring-boot-starters/spring-boot-starter-test/pom.xml @@ -22,6 +22,10 @@ org.springframework.boot spring-boot-test + + com.jayway.jsonpath + json-path + junit junit @@ -42,6 +46,10 @@ org.hamcrest hamcrest-library + + org.skyscreamer + jsonassert + org.springframework spring-core diff --git a/spring-boot-starters/spring-boot-starter-test/src/main/resources/META-INF/spring.provides b/spring-boot-starters/spring-boot-starter-test/src/main/resources/META-INF/spring.provides index 70f6829ed78..d53d3cc806c 100644 --- a/spring-boot-starters/spring-boot-starter-test/src/main/resources/META-INF/spring.provides +++ b/spring-boot-starters/spring-boot-starter-test/src/main/resources/META-INF/spring.provides @@ -1 +1 @@ -provides: spring-test,spring-boot,junit,mockito,hamcrest-library \ No newline at end of file +provides: spring-test,spring-boot,junit,mockito,hamcrest-library,assertj,jsonassert,json-path