Discussion:
unit testing frameworks for C used with Jenkins
Kamal Ahmed
2011-10-01 06:52:20 UTC
Permalink
Hi,
I am trying to find a unit test framework for C, that would work with Jenkins.
from the wikipedia page http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C
i can see only few that generate results in XML , and gtest needs your code to be compiled with g++

I would appreciate if anyone has good experience using a test framework that worked well with Jenkins

Thanks,
-Kamal.
Didier Durand
2011-10-01 09:47:32 UTC
Permalink
Hi

Check http://stackoverflow.com/questions/7271465/c-jenkins-qa-stack-tools:
best answer with 8 points seems to answer your question

regards

didier
Post by Kamal Ahmed
Hi,
I am trying to find a unit test framework for C, that would work with Jenkins.
from the wikipedia pagehttp://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C
i can see only few that generate results in XML , and gtest needs your code to be compiled with g++
I would appreciate if anyone has good experience using a test framework that worked well with Jenkins
Thanks,
-Kamal.
Grégory Boissinot
2011-10-01 12:01:51 UTC
Permalink
Jenkins with its native JUnit recorder and with the xUnit plugin supports
the following xUnit framework for C/C++:

GoogleTest
CppUnit
BoostTest
Parsoft C++Test (unitTest )
UniTest++

Additionally, xUnit plugin provides a mechanism that lets you provide an XSL
to convert your xUnit reports in JUnit reports and record them in Jenkins
Post by Kamal Ahmed
Hi,
I am trying to find a unit test framework for C, that would work with
Jenkins.
from the wikipedia page
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C
i can see only few that generate results in XML , and gtest needs your code
to be compiled with g++
I would appreciate if anyone has good experience using a test framework
that worked well with Jenkins
Thanks,
-Kamal.
Slide
2011-10-01 19:38:17 UTC
Permalink
I've liked CUnit so far, its available on sourceforge. It has a mode to
generate xml.
Post by Kamal Ahmed
Hi,
I am trying to find a unit test framework for C, that would work with
Jenkins.
Post by Kamal Ahmed
from the wikipedia page
http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#C
Post by Kamal Ahmed
i can see only few that generate results in XML , and gtest needs your
code to be compiled with g++
Post by Kamal Ahmed
I would appreciate if anyone has good experience using a test framework
that worked well with Jenkins
Post by Kamal Ahmed
Thanks,
-Kamal.
Arnaud bourree
2011-10-02 12:10:02 UTC
Permalink
Hello,

That will not exactly answer your question, but I will suggest you to
allow build only to logged user.

Regards,

Arnaud.
Hi everyone.
Does anyone know how to change the anonymous email address to something
else? Currently, if someone kicks off a build as an anonymous user then
I'd like change this to be send to some other email address. I could not
find this set in any of the users config.xml files. Maybe it is somewhere
else?
Thanks,
Mike
--
View this message in context: http://jenkins.361315.n4.nabble.com/anonymous-email-address-tp3861506p3861506.html
Sent from the Jenkins users mailing list archive at Nabble.com.
Continue reading on narkive:
Search results for 'unit testing frameworks for C used with Jenkins' (Questions and Answers)
13
replies
Evolution???
started 2006-12-28 15:32:37 UTC
biology
Loading...