c++ - Using Jenkins with boost.test unit tests -
i have done bit of googling in area , have found many discussions getting jenkins understand boost.test's xml output format, no canonical reference.
some people need use xlst convert xml format, others suggest xml needs hacking before (anyone have xsl convert boost.test xml logs presentable format?). suggest xunit plugin can natively understand boost.test xml format, others state can't
because search results span 5 years, i'm conscious things have changed. i'm seeking up date answer best way use jenkins run , evaluate boost unit tests.
xunit parsing works me using jenkins 1.498, xunit 1.52, boost 1.42. have new project using boost 1.53 , xml output format appears same all-to-humanly-error-prone eye, since haven't yet set unit tests in jenkins, i'm not 100% sure output compatible.
as recommended in xunit plugin comments, i'm running boost test program with:
run_test --log_format=xml --log_sink=results.xml --log_level=all --report_level=no i have post-build xunit step configured parse results.xml boosttest-1.x format.
if you're still having problems, perhaps can update question more details versions , how generate test output.
Comments
Post a Comment