{"id":227,"date":"2009-07-29T11:07:01","date_gmt":"2009-07-29T11:07:01","guid":{"rendered":"http:\/\/ccgi.standard8.plus.com\/blog\/?p=227"},"modified":"2017-08-15T22:18:49","modified_gmt":"2017-08-15T21:18:49","slug":"automated-mozmill-tests-for-thunderbird","status":"publish","type":"post","link":"https:\/\/thebanners.uk\/standard8\/2009\/07\/29\/automated-mozmill-tests-for-thunderbird\/","title":{"rendered":"Automated MozMill tests for Thunderbird"},"content":{"rendered":"<p>Following on from getting the <a href=\"http:\/\/ccgi.standard8.plus.com\/blog\/archives\/220\"><code>make mozmill<\/code> harness working last week<\/a>, we&#8217;ve now got a Tinderbox up and running with MozMill:<\/p>\n<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-232\" title=\"MozMill results from a successful run.\" src=\"https:\/\/www.thebanners.uk\/blog\/wp-content\/uploads\/2009\/07\/picture-22.png\" border=\"0\" alt=\"MozMill results from a successful run.\" width=\"180\" height=\"176\" align=\"center\" \/><\/div>\n<p>As the mozmill make target acts in a similar style and produces similar output to xpcshell-tests getting a tinderbox set up was relatively easy. The basic order of events was: MozillaBuild upgrade to 1.4, installation of MozMill with <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=505433\">one minor patch<\/a>, <a href=\"https:\/\/bugzilla.mozilla.org\/attachment.cgi?id=391143&amp;action=edit\">patch<\/a> the buildbotcustom code to provide a mozmill test in the unit test factory.<\/p>\n<p>For now we&#8217;ve just installed MozMill manually, and this box is just one box running on the <a href=\"http:\/\/tinderbox.mozilla.org\/ThunderbirdTest\/\">ThunderbirdTest<\/a> tree. We still have to work out how we&#8217;re going to deploy MozMill normally, we&#8217;re watching the discussion in <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=457265\">bug 457265<\/a> to see what is going to happen there. In the meantime we&#8217;re leaving the tinderbox running to see how stable the tests are.<\/p>\n<p>Even though the box has just been set up as a &#8220;see how it goes&#8221; box, it has already caught its first regression \ud83d\ude42 . About 5 hours after we first got the tests passing, a patch was checked into comm-central that worked fine on our Thunderbird 3\/Gecko 1.9.1 build but regressed the trunk builds (built on Gecko 1.9.2). We&#8217;re pretty sure this is due to the recent focus changes in 1.9.2 &#8211; the hack we&#8217;ve put in for 1.9.1 shouldn&#8217;t be necessary on 1.9.2 (we&#8217;re currently checking that assertion out).<\/p>\n<p>If we didn&#8217;t have the box we could have gone for a month or so before finding out about the regression &#8211; now we know when and why it happened which will make fixing it a lot easier.<\/p>\n<p>The MozMill harness is currently Thunderbird specific &#8211; we did this so that we could get MozMill up and running quickly with short iterations as Thunderbird doesn&#8217;t have other UI test harnesses available. If anyone wants to make the harness work with other comm-central apps and\/or move it over to mozilla-central then I would be more that happy to discuss ways of making that happen, I&#8217;m just not likely to have time to do the work until after Thunderbird 3 is out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following on from getting the make mozmill harness working last week, we&#8217;ve now got a Tinderbox up and running with MozMill: As the mozmill make target acts in a similar style and produces similar output to xpcshell-tests getting a tinderbox set up was relatively easy. The basic order of events was: MozillaBuild upgrade to 1.4, &hellip; <a href=\"https:\/\/thebanners.uk\/standard8\/2009\/07\/29\/automated-mozmill-tests-for-thunderbird\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Automated MozMill tests for Thunderbird&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-mozilla","category-thunderbird"],"_links":{"self":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":1,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/227\/revisions\/637"}],"wp:attachment":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}