{"id":24,"date":"2006-10-04T08:13:47","date_gmt":"2006-10-04T07:13:47","guid":{"rendered":"http:\/\/blogs.igalia.com\/itoral\/?p=24"},"modified":"2006-10-04T08:13:47","modified_gmt":"2006-10-04T07:13:47","slug":"more-on-gtk-tests-and-the-build-brigade","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/itoral\/2006\/10\/04\/more-on-gtk-tests-and-the-build-brigade\/","title":{"rendered":"More on Gtk+ tests and the build brigade"},"content":{"rendered":"<p>I have spent some time working on developing some unit tests for Gtk+ using Check. You can check them out here:<\/p>\n<p><em>cvs -d :pserver:anonymous@cvs.igalia.com:\/var\/publiccvs co gtk+<\/em><\/p>\n<p>You need Check installed in your box in order to be able to run the tests or otherwise these will be disabled at configure time. You can get Check from <a title=\"Check\" target=\"_blank\" href=\"http:\/\/check.sourceforge.net\/\">here.<\/a> You can also get it with <em>apt<\/em> in a Debian like system just typing <em>apt-get install check<\/em>.<br \/>\nOnce you have downloaded, configured and built the repository, you can type <em>make check <\/em>in order to run all the tests in the Gtk+project. If you just want to run my unit tests you can just run <em>make check<\/em> from inside the <em>ut\/ <\/em>subdir, where I have put all my tests. You should also be able to browse my tests on-line using <a title=\"Browse the tests\" href=\"http:\/\/bonsai.fisterra.org\/cgi-bin\/bonsai\/rview.cgi?cvsroot=\/var\/publiccvs\/&amp;dir=gtk%2b\/ut&amp;module=gtk%20\">Bonsai<\/a>.<br \/>\nMy folk <a title=\"Dape's blog\" href=\"http:\/\/blogs.igalia.com\/itoral\/Dape\">Dape<\/a> is also working for the <a title=\"Build-brigade project page\" href=\"http:\/\/live.gnome.org\/BuildBigade\">build-brigade<\/a>. He is working on the continuous integration tool (<a title=\"buildbot project page\" href=\"http:\/\/buildbot.sourceforge.net\/\">buildbot<\/a>), improving it with nice features that will come in handy when setting up a nice Buildbot for the entire Gnome project. Meanwhile, I have to thank him for setting up a buildbot for my version of Gtk+ (the version where I added my unit tests) and its dependencies <a title=\"buildbot for Gtk+\" href=\"http:\/\/gtktests-buildbot.fisterra.org\/\">here<\/a>. From that view you can check the <a title=\"Gtk+ builds\" href=\"http:\/\/gtktests-buildbot.fisterra.org\/gtk%2B\/\">builds<\/a>, the <a title=\"Tests logs fro Gtk+\" href=\"http:\/\/gtktests-buildbot.fisterra.org\/gtk%2B\/gtk%2B-sarge\/builds\/7\/step-gtk%2B%20make-check.sh\/0\">tests logs<\/a> and even some great code <a title=\"code coverage fro Gtk+ unit tests\" href=\"http:\/\/gtktests-buildbot.fisterra.org\/gnomeslave\/gtk+\/lcov\/\">coverage statistics<\/a> that are very useful to know which code is actually being tested\/executed by the tests I have developed.<br \/>\nIf you are interested in this topic and want to contact us you can join #build-brigade IRC channel at GimpNet or subscribe to the <a title=\"Build-brigade mailing list\" href=\"http:\/\/mail.gnome.org\/mailman\/listinfo\/build-brigade-list\">build-brigade mailing list<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have spent some time working on developing some unit tests for Gtk+ using Check. You can check them out here: cvs -d :pserver:anonymous@cvs.igalia.com:\/var\/publiccvs co gtk+ You need Check installed in your box in order to be able to run the tests or otherwise these will be disabled at configure time. You can get Check &hellip; <a href=\"https:\/\/blogs.igalia.com\/itoral\/2006\/10\/04\/more-on-gtk-tests-and-the-build-brigade\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;More on Gtk+ tests and the build brigade&#8221;<\/span><\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/itoral\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}