{"id":2567,"date":"2017-12-18T12:30:56","date_gmt":"2017-12-18T07:00:56","guid":{"rendered":"http:\/\/innoroo.com\/blog\/?p=2567"},"modified":"2017-12-04T16:26:33","modified_gmt":"2017-12-04T10:56:33","slug":"test-driven-development-glossary","status":"publish","type":"post","link":"https:\/\/innoroo.com\/blog\/2017\/12\/18\/test-driven-development-glossary\/","title":{"rendered":"Test Driven Development | Glossary"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>Definition<br \/>\n<\/strong><\/p>\n<p>Test-driven development refers to a programming style in which three central activities (programming, coding and testing) activities are tightly interwoven. It follows a specific set of rules:<\/p>\n<ul>\n<li>Write a &#8216;single&#8217; unit test describing an aspect of the program.<\/li>\n<li>Run the test first time, identity the missing component after failure.<\/li>\n<li>Write more code, in the simplest way. Pass the test.<\/li>\n<li>Refactor the code to conform to simplicity criteria.<\/li>\n<li>Keep on repeated &#8216;testing&#8217; over time.<\/li>\n<\/ul>\n<p><strong>Further Reading<\/strong><\/p>\n<ul>\n<li>&#8220;Test-Driven Development: An Empirical Evaluation of Agile Practice&#8221;(book), by\u00a0Lech Madeyski.<\/li>\n<li>For more on TDD, read <a href=\"http:\/\/agiledata.org\/essays\/tdd.html\">here<\/a>,<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Definition Test-driven development refers to a programming style in which three central activities (programming, coding and testing) activities are tightly interwoven. It follows a specific set of rules: Write a &#8216;single&#8217; unit test describing an aspect of the program. Run the test first time, identity the missing component after failure. Write more code, in [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":2568,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[102],"tags":[331,18,330,333,301,329,332],"class_list":["post-2567","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-glossary","tag-code","tag-innoroo","tag-programme","tag-simplicity-criteria","tag-software","tag-test-driven","tag-unit-testing"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/innoroo.com\/blog\/wp-content\/uploads\/2017\/12\/Test-Driven-Development.png?fit=3125%2C1709&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rui8-Fp","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/posts\/2567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/comments?post=2567"}],"version-history":[{"count":3,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/posts\/2567\/revisions"}],"predecessor-version":[{"id":2709,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/posts\/2567\/revisions\/2709"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/media\/2568"}],"wp:attachment":[{"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/media?parent=2567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/categories?post=2567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/innoroo.com\/blog\/wp-json\/wp\/v2\/tags?post=2567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}