{"id":24782,"date":"2024-01-12T11:24:42","date_gmt":"2024-01-12T10:24:42","guid":{"rendered":"https:\/\/www.eurotechconseil.com\/en\/?page_id=24782"},"modified":"2026-10-30T23:07:17","modified_gmt":"2026-10-30T22:07:17","slug":"test-driven-development","status":"publish","type":"page","link":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/","title":{"rendered":"Test Driven Development"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;150px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; background_color=&#8221;#e4effb&#8221; max_width=&#8221;1200px&#8221; custom_padding=&#8221;50px|93px|50px|93px|true|true&#8221; border_radii=&#8221;on|25px|25px|25px|25px&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.23&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1 style=\"text-align: left;\"><span style=\"color: #010736;\">What is Test Driven Development (TDD)?<\/strong><\/h1>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.23&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p style=\"text-align: left;\"><span style=\"color: #010736;\">Test-Driven Development (TDD) is a software development methodology that revolves around a continuous cycle of writing tests, implementing code to make those tests pass, and then refactoring the code for better design.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h2 style=\"text-align: left;\"><strong>How does Test Driven Development work?<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p style=\"text-align: left;\"><span style=\"color: #010736;\">TDD follows a short cycle known as Red, Green, Refactor. The developer first writes an automated test describing the expected behavior; the test fails (red). They then write the minimum code needed to make it pass (green). Finally, they improve the code structure without changing its behavior (refactor), with the test acting as a safety net. The cycle is repeated for each small piece of functionality.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h2 style=\"text-align: left;\"><strong>What are the benefits of TDD?<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<ul style=\"color: #010736; text-align: left;\">\n<li>Fewer regressions thanks to a large suite of automated tests<\/li>\n<li>Simpler, more modular code designed to be testable<\/li>\n<li>Living documentation of how the code is expected to behave<\/li>\n<li>Safer refactoring and faster maintenance<\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<h2 style=\"text-align: left;\"><strong>Testing at Euro Tech Conseil<\/strong><\/h2>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.27.9&#8243; _module_preset=&#8221;default&#8221;]<\/p>\n<p style=\"text-align: left;\"><span style=\"color: #010736;\">At Euro Tech Conseil, unit tests, code reviews and automated pipelines are part of every sprint. Discover our <a href=\"https:\/\/www.eurotechconseil.com\/en\/qa-software-testing-services\/\" style=\"color:#4c80fa;\">QA and software testing services<\/a> and our <a href=\"https:\/\/www.eurotechconseil.com\/en\/development-methodology-agile-scrum\/\" style=\"color:#4c80fa;\">development methodology<\/a>.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row custom_padding_last_edited=&#8221;off|desktop&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;default&#8221; background_enable_color=&#8221;off&#8221; max_width=&#8221;1200px&#8221; custom_padding=&#8221;||||false|false&#8221; custom_padding_tablet=&#8221;40px|30px|40px|30px|true|true&#8221; custom_padding_phone=&#8221;30px|15px|30px|15px|true|true&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_button button_url=&#8221;\/en\/glossary&#8221; button_text=&#8221;Return to Glossary&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#00a8eb&#8221; button_border_width=&#8221;0px&#8221; button_icon=&#8221;&#x23;||divi||400&#8243; button_icon_placement=&#8221;left&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_button][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;2_3,1_3&#8243; custom_padding_last_edited=&#8221;off|desktop&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;default&#8221; background_enable_color=&#8221;off&#8221; max_width=&#8221;1200px&#8221; custom_padding=&#8221;50px|50px||50px|false|true&#8221; custom_padding_tablet=&#8221;40px|30px|40px|30px|true|true&#8221; custom_padding_phone=&#8221;30px|15px|30px|15px|true|true&#8221; border_radii=&#8221;on|25px|25px|25px|25px&#8221; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#09033a&#8221; border_style_all=&#8221;dashed&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_3&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;default&#8221; header_text_align=&#8221;center&#8221; header_2_text_align=&#8221;center&#8221; header_2_text_color=&#8221;#FFFFFF&#8221; text_orientation=&#8221;center&#8221; custom_margin=&#8221;||30px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p style=\"text-align: left;\"><em><strong style=\"text-align: left;\">You have a project in mind ?<\/strong><\/em><\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_button button_url=&#8221;https:\/\/www.eurotechconseil.com\/en\/contact-us\/&#8221; button_text=&#8221;Contact us !&#8221; button_alignment=&#8221;center&#8221; button_alignment_tablet=&#8221;center&#8221; button_alignment_phone=&#8221;center&#8221; button_alignment_last_edited=&#8221;on|tablet&#8221; _builder_version=&#8221;4.22.1&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#00a8eb&#8221; button_border_width=&#8221;1px&#8221; button_border_color=&#8221;#010736&#8243; button_border_radius=&#8221;10px&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_button][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Test Driven Development (TDD)?Test-Driven Development (TDD) is a software development methodology that revolves around a continuous cycle of writing tests, implementing code to make those tests pass, and then refactoring the code for better design.How does Test Driven Development work?TDD follows a short cycle known as Red, Green, Refactor. The developer first writes an automated test describing the expected behavior; the test fails (red). They then write the minimum code needed to make it pass (green). Finally, they improve the code structure without changing its behavior (refactor), with the test acting as a safety net. The cycle is repeated for each small piece of functionality.What are the benefits of TDD?Fewer regressions thanks to a large suite of automated testsSimpler, more modular code designed to be testableLiving documentation of how the code is expected to behaveSafer refactoring and faster maintenanceTesting at Euro Tech ConseilAt Euro Tech Conseil, unit tests, code reviews and automated pipelines are part of every sprint. Discover our QA and software testing services and our development methodology.You have a project in mind ?<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23682,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-24782","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Test Driven Development (TDD)?<\/title>\n<meta name=\"description\" content=\"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Test Driven Development (TDD)?\" \/>\n<meta property=\"og:description\" content=\"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/\" \/>\n<meta property=\"og:site_name\" content=\"Eurotechconseil\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eurotechconseilfrance\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-30T22:07:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.eurotechconseil.com\/en\/wp-content\/uploads\/2023\/10\/img-glos.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@eurotechconseil\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/test-driven-development\\\/\",\"url\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/test-driven-development\\\/\",\"name\":\"What is Test Driven Development (TDD)?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#website\"},\"datePublished\":\"2024-01-12T10:24:42+00:00\",\"dateModified\":\"2026-10-30T22:07:17+00:00\",\"description\":\"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/test-driven-development\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/test-driven-development\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/test-driven-development\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary\",\"item\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/glossary\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Test Driven Development\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/\",\"name\":\"Euro Tech Conseil\",\"description\":\"Software development company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#organization\"},\"alternateName\":\"Euro Tech Conseil\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#organization\",\"name\":\"Euro Tech Conseil\",\"alternateName\":\"Euro Tech Conseil\",\"url\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/logo-etc-en.webp\",\"contentUrl\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/logo-etc-en.webp\",\"width\":88,\"height\":35,\"caption\":\"Euro Tech Conseil\"},\"image\":{\"@id\":\"https:\\\/\\\/www.eurotechconseil.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/eurotechconseilfrance\\\/\",\"https:\\\/\\\/x.com\\\/eurotechconseil\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Test Driven Development (TDD)?","description":"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/","og_locale":"en_US","og_type":"article","og_title":"What is Test Driven Development (TDD)?","og_description":"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.","og_url":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/","og_site_name":"Eurotechconseil","article_publisher":"https:\/\/www.facebook.com\/eurotechconseilfrance\/","article_modified_time":"2026-10-30T22:07:17+00:00","og_image":[{"url":"https:\/\/www.eurotechconseil.com\/en\/wp-content\/uploads\/2023\/10\/img-glos.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@eurotechconseil","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/","url":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/","name":"What is Test Driven Development (TDD)?","isPartOf":{"@id":"https:\/\/www.eurotechconseil.com\/en\/#website"},"datePublished":"2024-01-12T10:24:42+00:00","dateModified":"2026-10-30T22:07:17+00:00","description":"Test-Driven Development (TDD) is a software development approach in which tests are written before the actual code is implemented.","breadcrumb":{"@id":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.eurotechconseil.com\/en\/glossary\/test-driven-development\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.eurotechconseil.com\/en\/"},{"@type":"ListItem","position":2,"name":"Glossary","item":"https:\/\/www.eurotechconseil.com\/en\/glossary\/"},{"@type":"ListItem","position":3,"name":"Test Driven Development"}]},{"@type":"WebSite","@id":"https:\/\/www.eurotechconseil.com\/en\/#website","url":"https:\/\/www.eurotechconseil.com\/en\/","name":"Euro Tech Conseil","description":"Software development company","publisher":{"@id":"https:\/\/www.eurotechconseil.com\/en\/#organization"},"alternateName":"Euro Tech Conseil","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.eurotechconseil.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.eurotechconseil.com\/en\/#organization","name":"Euro Tech Conseil","alternateName":"Euro Tech Conseil","url":"https:\/\/www.eurotechconseil.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.eurotechconseil.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.eurotechconseil.com\/en\/wp-content\/uploads\/2026\/04\/logo-etc-en.webp","contentUrl":"https:\/\/www.eurotechconseil.com\/en\/wp-content\/uploads\/2026\/04\/logo-etc-en.webp","width":88,"height":35,"caption":"Euro Tech Conseil"},"image":{"@id":"https:\/\/www.eurotechconseil.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eurotechconseilfrance\/","https:\/\/x.com\/eurotechconseil"]}]}},"_links":{"self":[{"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/pages\/24782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/comments?post=24782"}],"version-history":[{"count":1,"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/pages\/24782\/revisions"}],"predecessor-version":[{"id":27283,"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/pages\/24782\/revisions\/27283"}],"up":[{"embeddable":true,"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/pages\/23682"}],"wp:attachment":[{"href":"https:\/\/www.eurotechconseil.com\/en\/wp-json\/wp\/v2\/media?parent=24782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}