我想知道是否可以使用 Maven2 自动为 Glassfish 2.1 配置 JNDI 资源、数据源和邮件 session 以进行集成测试。
我还想知道是否可以创建某种基准,然后使用 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.
我不确定 Cargo 是否提供了任何配置邮件 session 的功能。无论如何,从我在 DataSource+and+Resource+Support 中看到的,根本不支持 GlassFish。我只需配置已安装的容器即可运行集成测试。
Also I wonder whether it is possible to create some sort of benchmarks that might then be tracked using continuum or Hudson.
您可以运行JMeter性能测试。 hudson 有一个 Performance Plugin允许根据结果生成趋势图报告。也可以看看 JChav (不过似乎处于休眠状态)。
关于maven-2 - Maven Cargo 配置 Glassfish 2.1 实例来运行集成测试?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3135988/