Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Maven 多模块项目中,我是否应该将集成/性能测试项目也视为模块?
multi-module-project ├── module-war ├── some-other-module └── etc... Should I include? └── performance-tests
添加:
如果这些测试需要几个小时才能完成怎么办?
如果他们需要运行真正的服务器,比如 JBoss 集群,该怎么办?
我建议在 Web 应用程序的情况下按照您的建议设置一个单独的模块。我将性能测试视为一种集成测试。像这样:
multi-module-project ├── module-war ├── some-other-module └── integration-tests └── performance-tests └── etc...
编辑:
如评论中所述:“您可以通过配置文件控制集成测试的执行”