{"id":1021,"date":"2010-02-09T11:43:54","date_gmt":"2010-02-09T16:43:54","guid":{"rendered":"http:\/\/mikeconley.ca\/blog\/?p=1021"},"modified":"2023-12-20T16:25:17","modified_gmt":"2023-12-20T21:25:17","slug":"take-those-code-review-requests-for-a-testdrive","status":"publish","type":"post","link":"https:\/\/mikeconley.ca\/blog\/2010\/02\/09\/take-those-code-review-requests-for-a-testdrive\/","title":{"rendered":"Take Those Code Review Requests for a TestDrive&#8230;"},"content":{"rendered":"<p>Remember how <a href=\"http:\/\/mikeconley.ca\/blog\/2010\/02\/02\/pre-commit-code-review-in-markus-development\/\">I wrote a while back<\/a> that I wanted to write a script to let me do some quick and easy pre-commit continuous integration with the MarkUs project?<\/p>\n<p>Well, I think I just wrote one.<\/p>\n<h3>Introducing TestDrive&#8230;<\/h3>\n<p>TestDrive will fetch a review request, grab the latest diff (yes, found an easy way past the lack of API there), check out a fresh copy of MarkUs, throw down the diff, set it up with some Sqlite3 databases, run your tests, and voila &#8211; go to localhost:3000, and you&#8217;re running the review request diff.<\/p>\n<p>I&#8217;ve been using it myself for about a week or so, and so far, it&#8217;s helped me catch a number of bugs that I wouldn&#8217;t have caught just by looking at the code in ReviewBoard.\u00a0 Nice.<\/p>\n<p><a href=\"http:\/\/github.com\/mikeconley\/TestDrive\">Click here to check out TestDrive.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remember how I wrote a while back that I wanted to write a script to let me do some quick and easy pre-commit continuous integration with the MarkUs project? Well, I think I just wrote one. Introducing TestDrive&#8230; TestDrive will fetch a review request, grab the latest diff (yes, found an easy way past the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[454],"tags":[501,550,605,604],"class_list":["post-1021","post","type-post","status-publish","format-standard","hentry","category-code-reviews","tag-code-review","tag-markus","tag-pre-commit-continuous-integration","tag-testdrive"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/prmTy-gt","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/1021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":5,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"predecessor-version":[{"id":3195,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions\/3195"}],"wp:attachment":[{"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikeconley.ca\/blog\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}