任何使用WebTest的无蚂蚁? [英] Anyone using webtest without ant?

查看:183
本文介绍了任何使用WebTest的无蚂蚁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用WebTest的,preferably从Clojure的尝试,但我只能找到它的功能暴露为Ant任务。似乎有某种Groovy的接口,这意味着它可能从任何JVM语言蚂蚁外使用,但我不明白。

I'd like to try using WebTest, preferably from Clojure, but I can only find its functionality exposed as Ant tasks. There seems to be some sort of Groovy interface, which implies that it's possible to use from any JVM language outside of Ant, but I can't figure it out.

我希望用WebTest的作为编写脚本的浏览器加载了别人的页面,看看它的各种不愉快的事情,而不是每次构建测试自己的网页,所以蚂蚁并不真的看起来像一个合适的解决方案,如果我能避免它。

I'm hoping to use WebTest as a "scriptable browser" to load up someone else's page and see if it does various unpleasant things, rather than test my own page with every build, so Ant doesn't really seem like an appropriate solution if I can avoid it.

推荐答案

它往往是有用的Java功能背后隐藏Ant任务的情况。写这本书(pre-leiningen等),当我打的问题,并写了柳叶刀以让你调用Ant任务Clojure的功能。

It is often the case that useful Java functionality is hidden behind Ant tasks. I hit the issue when writing the book (pre-leiningen et al), and wrote lancet to let you call Ant tasks as clojure functions.

柳叶刀很可能需要延长处理任意Ant任务,但因为它现在被维持(作为的 leiningen )您可能会发现其他人愿意帮忙。

Lancet would probably need to be extended to handle arbitrary Ant tasks, but since it is now being maintained (as a dependency of leiningen) you might find other people willing to help out.

这篇关于任何使用WebTest的无蚂蚁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆