ami*_*mit 3 c++ continuous-integration automated-tests unit-testing cruisecontrol
我想为我的开源C++项目建立一个持续集成和测试框架.所需的功能是:
1. check out the source code
2. run all the unit and other tests
3. run performance tests (these measure the software quality - for example how long does it take the system to complete the test)
4. produce a report based on 3. and 4. daily
5. archive the reports for future reference
Run Code Online (Sandbox Code Playgroud)
要实现这一点,您会推荐哪个测试框架和持续集成过程?现在我倾向于使用Google Test Framework(我知道在其他问题中讨论的单元测试框架的一些比较)用于测试和Cruisecontrol用于持续集成.但我不知道Cruisecontrol是否允许轻松整合性能指标.
编辑:要回答Wilhelmtell,代码应该适用于Windows和Linux.
我写了一篇可能对你有帮助的文章.它描述了使用googletest和hudson持续集成C++代码,使用gcov代码覆盖率指标. http://meekrosoft.wordpress.com/2010/06/02/continuous-code-coverage-with-gcc-googletest-and-hudson/