Category: testing

  • Unit Test Coverage

    S.Lott writes in his blog about unit test code-coverage: how much is enough? Effective tests should account not only for code paths, but also input values and other application state or external environment that may affect the behavior. For example, it may be easy to get 100% code coverage from tests for a function like…

  • TDD lesson from Sudoku

    I am a Sudoku addict. I like to analyze the logic strategies for solving these puzzles. I even gave a presentation at OSCON 2006 about using SQL to solve Sudoku puzzles. The image I’m including is a screenshot from jigsawdoku.com, copyright 2008 by Rachel Lee and Gideon Greenspan. This is my favorite Sudoku web interface…