cweijan / http-test

Java测试框架, 用于对SpringMvc接口进行快速测试.
Apache License 2.0
13 stars 3 forks source link

HttpTest,支持添加context-path设置 #1

Closed holicc closed 4 years ago

holicc commented 4 years ago

我们项目有context-path设置,所以增加一个这个功能的支持

@HttpTest(host = "localhost", port = 8080,contextPath = "/context")
class ControllerTest {
    //do nothing
}
cweijan commented 4 years ago

Ok, 等我今晚整理下明天发布新版本

holicc commented 4 years ago

Ok, 等我今晚整理下明天发布新版本

顺便也把单元测试提交上去把,这样改起来放心点

cweijan commented 4 years ago

0.0.4版本已经发布(应该有延迟), 现在支持从SpringBoot配置文件读取配置, 如果是本地开发则无需手动配置