Hudson, C++ and UnitTest++

前端 未结 6 891
迷失自我
迷失自我 2021-01-30 02:53

Has anyone used Hudson as a Continuous-Integration server for a C++ project using UnitTest++ as a testing library?

How exactly did you set it up?

I know there ha

6条回答
  •  北海茫月
    2021-01-30 03:22

    Long before I started to use Hudson, I worked on a C++ project where we used cpp-unit-lite and CruiseControl

    We altered Cpp-unit-lite to generate JUnit like XML report files and CruiseControl picked up the XML report files.

    You can do the same for UnitTest++ and Hudson will pickup the report files.

    However, that seems like a lot of work. Have a look at the plot plugin for Hudson. You can have a script extract the number of failing/passing tests from the UnitTest++ output and use the plot plugin to draw a simple graph of passing/failing tests per build.

    Not as nice as the in-built unit test report but something you can get working quickly.

提交回复
热议问题