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.