Tautological assertions are not always caused by aliasing
blog.ploeh.dk¡9h
⚖️Hoare Logic
Preview
Report Post

You can also make mistakes that compile in Haskell.

Seeing a (unit) test fail before making it pass is an important part of empirical software engineering. This is nothing new. We’ve known about the red-green-refactor cycle for at least twenty years, so we know that ensuring that a test can fail is of the essence.

A fundamental problem of automated testing is that we’re writing code to test code. How do we know that our test code works? After all, it’s easy enough to make mistakes, even with simple code.

The importance of discipline #

When I test-drive a programming task, it regularly happens that I write a test t…

Similar Posts

Loading similar posts...