Xaprb

Stay curious!

Archive for the ‘Daniel Nichter’ tag

How Maatkit benefits from test-driven development

with 3 comments

Over in Maatkit-land, Daniel Nichter and I practice test-first programming, AKA test-driven development. That is, we write tests for each new feature or to catch regressions on each bug we fix. And — this is crucial — we write the tests before we write the code.* The tests should initially fail, which is a validation that the new code actually works and the tests actually verify this. If we don’t first write a failing testcase, then our code lacks a very important guarantee: “if you break this code, then the test case will tell you so.” (A test that doesn’t fail when the code fails isn’t worth writing.)

Read the rest of this entry »

Written by Xaprb

August 18th, 2008 at 9:54 am

Maatkit version 2152 released

with 2 comments

Download Maatkit

Maatkit version 2152 is ready for download. This release is also known as the “is this project really alive?” release. We thought we should delay until MySQL released a new Community Server version. Just kidding — it has nothing to do with that.

Read the rest of this entry »

Written by Xaprb

August 12th, 2008 at 12:56 am