{
    "href": "/post/2018/02/13/line-coverage-in-unit-tests/",
    "relId": "2018/02/13/line-coverage-in-unit-tests",
    "title": "Line Coverage in Unit Tests",
    "author": "pmjones",
    "markup": "html",
    "tags": [
        {
            "href": "/tag/php/",
            "relId": "php",
            "title": "PHP",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        },
        {
            "href": "/tag/programming/",
            "relId": "programming",
            "title": "Programming",
            "author": null,
            "created": null,
            "updated": [],
            "markup": "markdown"
        }
    ],
    "created": "2018-02-13 13:00:32 UTC",
    "updated": [
        "2018-02-13 13:00:32 UTC"
    ],
    "html": "<p>The novice says, \"I do not strive for 100% line coverage in tests; I only write tests for the code that is important.\"</p>\n<p>The master says, \"If the code is not important, why is it there at all? I will strive to test every line I write; if a line is not important, it should be removed.\"</p>\n<p>(See also <a href=\"http://www.agitar.com/downloads/TheWayOfTestivus.pdf\">The Way of Testivus</a>.)</p>\n"
}
