场景 在进行Web服务端开发的时候,发布前通常需要测试一遍.对于一个大一点的项目,最好的办法是写个自动化测试程序. 以Groovy为例,写测试代码之前通常的有如下几个操作 引用相关的类库 import相关的类 对库不熟悉的时候你很可能得先把库的文档好好看一遍 对于你来说,你需要的可能仅仅是post,get等几个简单的操作而已,而上面的操作更是可能占用你整个开发过程的大部分时间. Orz....项目进度没跟上,又要加班了.... 要是有一种语言,本身自带post,get这样的函数那该多好啊,测试程