{"id":11,"date":"2008-12-18T19:59:42","date_gmt":"2008-12-19T03:59:42","guid":{"rendered":"http:\/\/kai.mactane.org\/blog\/?p=11"},"modified":"2008-12-18T20:02:13","modified_gmt":"2008-12-19T04:02:13","slug":"im-getting-tired-of-yak-shaving","status":"publish","type":"post","link":"https:\/\/kagan.mactane.org\/blog\/2008\/12\/18\/im-getting-tired-of-yak-shaving\/","title":{"rendered":"I&#8217;m Getting Tired of Yak-Shaving"},"content":{"rendered":"<p>It seems like every time I try to get around to actually <em>writing some code<\/em>, I discover yet another thing that I have to do in order to make that more possible. Today, it was: Get PHPUnit installed on <span style=\"cursor: help; border-bottom: 1px dotted;\" title=\"my Windows workstation\">L&oacute;rien<\/span>, so I could run my unit tests locally during development, rather than having to shove everything back up to <span style=\"cursor: help; border-bottom: 1px dotted;\" title=\"my Linux server, where I used to do such development\">Finrod <\/span>every time I wanted to run a single test.<\/p>\n<p>The <a href=\"http:\/\/en.wiktionary.org\/wiki\/yak_shaving\">yak-shaving<\/a> odyssey that this necessitated involved upgrading my local copy of PHP (which originally came with InstantRails) from 4.whatever to 5.2.8, so that I could develop PHP5 code at all, then installing PEAR so that I could use it to get PHPUnit, and also resolving the weird extension-loading bugs on PHP for Windows (for example, you have to load <code>php_mbstring.dll<\/code> <em>before<\/em> <code>php_exif.dll<\/code>, or else both of them will fail and complain. Ditto with <code>php_pdo.dll<\/code> and <code>php_sqlite.dll<\/code>. None of this is documented in the manual; you have to Google on it and get links to the bug database. Joy.)<\/p>\n<p>But I can now run PHPUnit test on the stuff that I&#8217;m working on, <em>locally<\/em> rather than remotely. So&#8230; <em>now<\/em> can I get some code written?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems like every time I try to get around to actually writing some code, I discover yet another thing that I have to do in order to make that more possible. Today, it was: Get PHPUnit installed on L&oacute;rien, so I could run my unit tests locally during development, rather than having to shove [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,5,6],"_links":{"self":[{"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/posts\/11"}],"collection":[{"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kagan.mactane.org\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}