[ Content | Sidebar ]

Archives for testing

binary search

I read the following in chapter seven of Beautiful Code. The author wants to make some points about testing, and opts to use binary search as a compact but non-trivial example.
If you have never implemented binary search, or haven’t done so in a few years, I suggest you try that yourself before going forward; it [...]

Eunit

PragDave has a nice article on test driven development using Eunit. Eunit is very lightweight, easy to use, and useful. Check it out.