{"id":3333,"date":"2014-03-18T10:25:21","date_gmt":"2014-03-18T16:25:21","guid":{"rendered":"http:\/\/bililite.com\/blog\/?p=3333"},"modified":"2014-03-21T00:06:33","modified_gmt":"2014-03-21T06:06:33","slug":"better-javascript-testing","status":"publish","type":"post","link":"https:\/\/bililite.com\/blog\/2014\/03\/18\/better-javascript-testing\/","title":{"rendered":"Better Javascript testing"},"content":{"rendered":"<p>Evidently <a href=\"http:\/\/www.javaworld.com\/article\/2107745\/testing-debugging\/your-quick-guide-to-better-javascript-testing.html\">I'm doing test-driven development wrong<\/a>. Or at least it could be easier. I will have to look at Google's <a href=\"http:\/\/karma-runner.github.io\/0.12\/index.html\"><code>karma<\/code><\/a> to automate the testing (rather than running the test suite in each browser individually). That of course means I need to start using <a href=\"http:\/\/nodejs.org\/\"><code>Node<\/code>'s <code>npm<\/code> package manager<\/a> (which I probably should anyway, since all the cool kids are). I've been using <a href=\"http:\/\/chocolatey.org\/\"><code>chocolatey<\/code><\/a> for installing programs, but it explicitly is designed to not overlap with Node and its package manager (though it will <em>install<\/em> Node itself).<\/p>\r\n<p>This post will have to be my reminder to start hacking with all of this sooner rather than later. Now I have to see patients...<\/p>","protected":false},"excerpt":{"rendered":"Evidently I'm doing test-driven development wrong. Or at least it could be easier. I will have to look at Google's karma to automate the testing (rather than running the test suite in each browser individually). That of course means I need to start using Node's npm package manager (which I probably should anyway, since all [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3333"}],"collection":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/comments?post=3333"}],"version-history":[{"count":2,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3333\/revisions"}],"predecessor-version":[{"id":3342,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/3333\/revisions\/3342"}],"wp:attachment":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/media?parent=3333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/categories?post=3333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/tags?post=3333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}