C ++ continuous integration with performance metrics

I want to create a continuous integration and testing environment for my open source C ++ project. Required Features:

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

To implement this, which test structure and which continuous integration process would you recommend? Now I'm leaning towards the Google Test Framework (I know of some comparisons of unit test frameworks discussed in other issues ) for tests and Cruisecontrol for continuous integration. But I don't know if Cruisecontrol makes it easy to integrate performance metrics.

Edit: To answer Wilhelmtell, the code must work with both Windows and Linux.

+3
source share
7 answers

I am using CruiseControl and UnitTest ++ today for this task.

UnitTest ++ is really good, although sometimes I feel limited around the corner. At least it is 10 times better than cppunit. Still not tried Google testing framework, this will be for my next project.

CruiseControl. , , . " " . , stdout stderr, . CruiseControl , -.

+2

. , - . , , GoogleTest . , . UnitTest ++ . , .

CruiseControl, , , , , script, . , .

HTML, XML, LaTeX , Bash. time, sed unittest . , Bash , Bash . , HTML , .

, , , script , , , Ruby Python. , Ruby Markaby HTML. , Bash, Ruby Python . , script, .

, script, . , Subversion Git hook , script .

+2

NAnt, - .NET, bjam CppUnit .

, , Windows Windows Linux. bjam CppUnit.

NAnt ; NAnt mono. CC.NET - , , /Apache...

CC.NET Hudson; . - .

CppUnit , . GoogleTest ( mock), UnitTest ++ Boost Test .

, , , , - !

+2

CruiseControl.Net cppUnit, Google. , CruiseControl.NET, , , .

+1

, , .

, Cruisecontrol .

CruiseControl:

  • xml-, , - .xsl
  • html-, , -, .

, CruiseControl, CI, .

+1

We use UnitTest ++ and Hudson.

I find Hudson very easy to use and extremely customizable, with lots of plugins.

0
source

All Articles