Robust code

Trying to get people to stop hard coding expected results in tests is not easy.

IList rowList = db.GetSomeRows()
Assert.Equals(4, rowList.Count);


Code is like poetry
blowing in the wind,
beaten from left and right
crashed and regularly skinned,
choose the best of parchment
to ward against the eternal din.

No comments: