{"id":13,"date":"2008-05-09T10:30:40","date_gmt":"2008-05-09T10:30:40","guid":{"rendered":"http:\/\/ccgi.standard8.plus.com\/blog\/archives\/13"},"modified":"2017-08-15T22:19:40","modified_gmt":"2017-08-15T21:19:40","slug":"score-1-for-mailnews-automated-tests","status":"publish","type":"post","link":"https:\/\/thebanners.uk\/standard8\/2008\/05\/09\/score-1-for-mailnews-automated-tests\/","title":{"rendered":"Score 1 for MailNews Automated Tests"},"content":{"rendered":"<p>After the mailnews\/ and mail\/ source trees reopened yesterday, I checked in a <a href=\"http:\/\/bonsai.mozilla.org\/cvsquery.cgi?treeid=default&amp;module=all&amp;branch=HEAD&amp;branchtype=match&amp;dir=&amp;file=&amp;filetype=match&amp;who=bugzilla%25standard8.plus.com&amp;whotype=match&amp;sortby=Date&amp;hours=2&amp;date=explicit&amp;mindate=2008-05-08+11%3A29&amp;maxdate=2008-05-08+14%3A13&amp;cvsroot=%2Fcvsroot\" title=\"Bonsai list of patches\">whole bunch of patches<\/a> that had been queued up during the freeze. Some of them had been in my development tree, some of them hadn&#8217;t.<\/p>\n<p>A little while later the <a href=\"http:\/\/tinderbox.mozilla.org\/SeaMonkey\/\" title=\"SeaMonkey tinderboxes\">SeaMonkey unit test tinderbox<\/a> was orange. This surprised me, as I was fairly sure I had run all the mailnews tests with the various patches.<\/p>\n<p>It turns out one of the patches (a follow up to <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=424570\" title=\"Bug 424570\">bug 424570<\/a>) had caused a regression where deleting address book cards wouldn&#8217;t work properly. This was one of those cases where before we had unit tests I wouldn&#8217;t have been surprised if we hadn&#8217;t detected the regression for a while.<\/p>\n<p>So as Dan said, score 1 for MailNews automated tests. Although we&#8217;ve already seen regressions caught many times for the core tests, its good to see that the MailNews ones are now starting to catch regressions as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After the mailnews\/ and mail\/ source trees reopened yesterday, I checked in a whole bunch of patches that had been queued up during the freeze. Some of them had been in my development tree, some of them hadn&#8217;t. A little while later the SeaMonkey unit test tinderbox was orange. This surprised me, as I was &hellip; <a href=\"https:\/\/thebanners.uk\/standard8\/2008\/05\/09\/score-1-for-mailnews-automated-tests\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Score 1 for MailNews Automated Tests&#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,7,8],"tags":[],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-mozilla","category-seamonkey","category-thunderbird"],"_links":{"self":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/13","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=13"}],"version-history":[{"count":1,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":695,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/13\/revisions\/695"}],"wp:attachment":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}