Spring Test HtmlUnit 1.0.0 RC1 发布,增加MockMVC和Webdriver支持
Spring MVC Test HtmlUnit提供了Spring MVC测试框架、HtmlUnit、 WebDriver、Geb的集成测试,简化页面自动化测试,利用这些技术可以完成无需启动服务器即可进行页面测试、自动化页面/页面流程测试、Javascript测试、Mock Service提高集成测试速度。
Spring Test HtmlUnit 1.0.0 RC1 发布,这次发布的新亮点:
Migration Guide
A detailed migration guide from 1.0.0.M2 to 1.0.0.RC1 was added.
New Maven Coordinates
We have changed the maven group id. For details refer to Updating Dependencies
Default Context Path is ""
Based upon community feedback, the default context path is now "". This means if you are using a previous release, you will need to update the URL that is configured.
For details refer to Default Context Path is now ""
MockMvc WebClient & WebDriver Builders
This release adds builders for MockMvc and HtmlUnit integration. The builders provide a number of benefits:
- Simplify the setup
- Allow for more configuration options
- By default any URL that has a host of localhost is processed by MockMvc (i.e. http://localhost/something) while any other host is retrieved normally (i.e. http://cdn.example.com/jquery.js).
For details refer to MockMvc WebClient & WebDriver Builders
New Project Site & Documentation
We have added a new Project Site. We have also released documentation in which all code is tested.