Skip to content Celebrates 1000 (passing) Unit Tests

We started writing unit tests for AMO a few years ago with the best of intentions. As the tests grew we started running into memory/timeout problems that prevented us from running the tests. Other priorities took over and since we couldn’t run the tests we quit writing them. The tests got put on the back burner, became stale, and we’re for the most part forgotten (an all too familiar story for most developers).

Over the past few months we’ve been turning that around. While it’s certainly a team effort, it’s not stretching the truth to say that Jeff Balogh has been the driving force behind making sure our framework can scale and getting our old tests running again. Thanks to his tireless efforts our latest numbers show over 1200 unit tests, 1065 of which are passing.

In an effort to prevent them from being forgotten again he also created an IRC bot named bosley who tracks the tests and reminds people when they fail. Expect to see bosley in #amo soon.

The number of tests and the continuous monitoring of them is a huge milestone for AMO and Mozilla WebDev.

{ 5 } Comments

  1. Ryan Doherty | April 9, 2009 at 4:21 pm | Permalink

    Jeff Balogh rocks my world!

  2. Stephen Donner | April 10, 2009 at 12:25 am | Permalink

    So awesome.

  3. Jim | April 10, 2009 at 4:14 pm | Permalink

    wish I had a Jeff :(

  4. Fred | April 13, 2009 at 12:46 pm | Permalink

    Faaaantastic. (I kid you not).

  5. shaver | April 13, 2009 at 1:05 pm | Permalink


{ 1 } Trackback

  1. [...] has had an on-again off-again relationship with unit tests. A little over a year ago we had a thousand unit tests that sort of, mostly, ran. The problem is, PHP unit testing just isn’t as good as it should [...]