Spring Framework Reference Documentation 4.3.26.RELEASE
5.52 MB
916 页
0 评论
语言 | 格式 | 评分 |
---|---|---|
英语 | .pdf | 3 |
摘要 | ||
Spring Framework 4.3.26.RELEASE版本更新了测试框架,支持Groovy脚本配置、TestTransaction API、程序化事务管理、SQL脚本执行配置等。同时,改进了MockServletContext、MockHttpServletRequest等Servlet API模拟,并优化了事务测试支持。此外,Spring Framework 4.3集成了更新的ASM、CGLIB和Objenesis库,并支持多种新库和服务器版本。 | ||
AI总结 | ||
《Spring Framework 4.3.26.RELEASE》文档更新内容总结如下:
1. 支持使用Groovy脚本配置集成测试的ApplicationContext。
2. 新增TestTransaction API,可在事务性测试方法中编程式地开始和结束事务。
3. 使用@Sql和@SqlConfig注解,可以声明式配置SQL脚本执行。
4. 通过@TestPropertySource注解配置测试属性源,可自动覆盖系统和应用属性源。
5. 自动发现和合并默认的TestExecutionListeners。
6. 提升事务测试支持,增强MockServletContext、MockHttpServletRequest等Servlet API模拟。
7. AssertThrows重构,支持Throwable类型而非Exception。
8. Spring MVC Test支持JSON Assert,可用来断言JSON响应。
9. 使用MockMvcConfigurer创建MockMvcBuilder配置,便于应用Spring Security等第三方框架。
10. MockRestServiceServer支持AsyncRestTemplate进行客户端测试。
11. 集成Hibernate ORM 5.2、Hibernate Validator 5.3、Jackson 2.8、OkHttp 3.x、Tomcat 8.5/9.0、Netty 4.1、Undertow 1.4等。
12. 集成ASM 5.1、CGLIB 3.2.4和Objenesis 2.4。
13. 介绍Spring框架核心技术和IoC容器。
14. 介绍Spring AOP、集成AspectJ等。
15. 提供Spring框架4.x迁移指南。
16. 描述Spring JSP标签库,如argument、bind、param等标签的使用。 |
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余
904 页请下载阅读 -
文档评分