Maven Cargo 配置 Glassfish 2.1 实例来运行集成测试?
我想知道是否可以使用 Maven2 自动配置带有 JNDI 资源、数据源和邮件会话的 Glassfish 2.1,以进行集成测试。
我还想知道是否可以创建某种基准,然后使用 Continum 或 Hudson 进行跟踪。
I was wondering whether it is possible to use Maven2 to automatically configure a Glassfish 2.1 with JNDI Resources, Datasources and Mail-Sessions for my integration tests.
Also I wonder whether it is possible to create some sort of benchmarks that might then be tracked using continuum or Hudson.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定 Cargo 是否提供了任何配置邮件会话的功能。无论如何,从我在 DataSource+and+Resource+Support 中看到的,根本不支持 GlassFish。我只需配置已安装的容器即可运行集成测试。
您可以运行 JMeter 性能测试。 Hudson 有一个性能插件,允许从结果。也可以看看 JChav (不过似乎处于休眠状态)。
I'm not sure Cargo does provide anything to configure Mail-Sessions. And anyway, from what I can see in DataSource+and+Resource+Support, there is no support at all for GlassFish. I'd simply configure the installed container against which you run your integration tests.
You could run JMeter performance tests. Hudson has a Performance Plugin allowing to generate a trend graphic report from the results. Also maybe have a look at JChav (seems dormant though).