{"id":4438,"date":"2023-12-13T09:15:23","date_gmt":"2023-12-13T08:15:23","guid":{"rendered":"https:\/\/rock-the-prototype.com\/uncategorized\/unit-test\/"},"modified":"2023-12-13T15:45:15","modified_gmt":"2023-12-13T14:45:15","slug":"unit-test","status":"publish","type":"encyclopedia","link":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/","title":{"rendered":"Unit test"},"content":{"rendered":"<p><\/p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\"><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1144px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhaltsverzeichnis<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ffffff;color:#ffffff\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ffffff;color:#ffffff\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#What_is_a_unit_test\" >What is a unit test?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#The_unit_test_checks_whether_an_isolated_piece_of_code_does_what_it_is_supposed_to_do\" >The unit test checks whether an isolated piece of code does what it is supposed to do<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Complete_isolation_during_unit_tests\" >Complete isolation during unit tests<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Why_should_you_write_unit_tests_as_a_developer\" >Why should you write unit tests as a developer?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#What_advantages_do_unit_tests_offer\" >What advantages do unit tests offer?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Unit_testing_is_aimed_at_testing_individual_functions\" >Unit testing is aimed at testing individual functions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Unit_testing_is_fast\" >Unit testing is fast!<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Best_practice_for_creating_unit_tests\" >Best practice for creating unit tests<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Unit_tests_The_key_to_ensuring_high_software_quality\" >Unit tests: The key to ensuring high software quality<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#How_to_successfully_test_your_software_development_with_unit_tests\" >How to successfully test your software development with unit tests:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_1_Understand_what_is_to_be_tested\" >Step 1: Understand what is to be tested<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_2_Set_up_the_test_environment\" >Step 2: Set up the test environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_3_Write_the_test\" >Step 3: Write the test<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_4_Test_execution\" >Step 4: Test execution<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_5_Troubleshooting_and_optimization\" >Step 5: Troubleshooting and optimization<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_6_Repeated_implementation_and_integration\" >Step 6: Repeated implementation and integration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#Step_7_Documentation_and_maintenance\" >Step 7: Documentation and maintenance<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_a_unit_test\"><\/span>What is a unit test?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A <strong><a href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/\" target=\"_blank\" title='What is a unit test? A unit test checks the behavior of a software unit in the system. This test for software checks whether a small and isolated part of the code base, called a \"unit\", behaves as the developer intended. The unit test checks whether an isolated piece of code does what it is supposed to do' class=\"encyclopedia\">unit test<\/a><\/strong> checks the <strong>behavior of a software unit<\/strong> in the system. This <strong>test for software<\/strong> checks whether a <strong>small and isolated part of the code base<\/strong>, called a<strong>&ldquo;unit<\/strong>&ldquo;, behaves as the developer intended. <strong>Unit testing<\/strong> is an important <strong>test procedure<\/strong> when <strong><a href=\"https:\/\/rock-the-prototype.com\/wiki\/objektorientierte-programmierung\/\">programming<\/a> software<\/strong>.<\/p>\n<p>\n<\/p><div id=\"attachment_3388\" style=\"width: 1072px\" class=\"wp-caption alignnone\"><img decoding=\"async\" aria-describedby=\"caption-attachment-3388\" class=\"size-full wp-image-1900\" src=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.png\" alt=\"Unit test - test procedure for programming\" width=\"1062\" height=\"672\" srcset=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-200x127.png 200w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-300x190.png 300w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-320x202.png 320w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-400x253.png 400w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-600x380.png 600w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-768x486.png 768w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-800x506.png 800w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test-1024x648.png 1024w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.png 1062w\" sizes=\"(max-width: 1062px) 100vw, 1062px\"><p id=\"caption-attachment-3388\" class=\"wp-caption-text\">Unit test &ndash; test procedure for <a href=\"https:\/\/rock-the-prototype.com\/en\/learn-programming\/programming\/\" target=\"_blank\" title=\"What is programming? When programming, a programmer creates a software program that can run on a machine. The code is created in one of the formally defined computer languages - which are countless, such as Java, PHP, C++ or C#, Perl and many many more.\" class=\"encyclopedia\">programming<\/a><\/p><\/div>\n<h3><span class=\"ez-toc-section\" id=\"The_unit_test_checks_whether_an_isolated_piece_of_code_does_what_it_is_supposed_to_do\"><\/span>The unit test checks whether an isolated piece of code does what it is supposed to do<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Unit tests<\/strong> therefore check the smallest parts or components of an application by comparing their actual behavior with the expected behavior in complete isolation.<\/p>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Spotify - ENGL - Episode 7 - Agile Testing - The Key Role for Successful Software Development - Rock the Prototype Podcast\" href=\"#\"><iframe class=\"lazyload\" style=\"border-radius: 12px;\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27352%27%20viewBox%3D%270%200%20100%20352%27%3E%3Crect%20width%3D%27100%27%20height%3D%27352%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/open.spotify.com\/embed\/episode\/47bnghLFREAGn0IhYkGzLB?utm_source=generator\" width=\"100%\" height=\"352\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-2\"><h3><span class=\"ez-toc-section\" id=\"Complete_isolation_during_unit_tests\"><\/span>Complete isolation during unit tests<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For the <strong>test procedure<\/strong>, <strong>complete isolation<\/strong> means that the developers do not connect the application to external dependencies such as databases, the file system or protocol services such as HTTP during the unit tests.<\/p>\n<p>This means that unit tests can be carried out quickly and stably, as they do not fail due to problems with integration with these external services.<\/p>\n<div id=\"attachment_4081\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" aria-describedby=\"caption-attachment-4081\" class=\"size-full wp-image-4080\" src=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests.jpg\" alt=\"Complete isolation during unit tests\" width=\"1024\" height=\"1024\" srcset=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-66x66.jpg 66w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-150x150.jpg 150w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-200x200.jpg 200w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-300x300.jpg 300w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-400x400.jpg 400w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-600x600.jpg 600w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-768x768.jpg 768w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests-800x800.jpg 800w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Vollstaendige-Isolierung-bei-den-Unit-Tests.jpg 1024w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><p id=\"caption-attachment-4081\" class=\"wp-caption-text\">Complete isolation during unit tests<\/p><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Why_should_you_write_unit_tests_as_a_developer\"><\/span>Why should you write unit tests as a developer?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As a rule, developers first write unit tests and then the software code. This approach is referred to as<strong> test-driven development<\/strong> and is known as <strong>Test Driven Development <\/strong>(TDD).<\/p>\n<p>In test-driven development, the <strong>requirements are converted into specific test cases<\/strong>, then the software is improved to pass the new tests. During unit tests, the code can be changed without affecting the functionality of other units or the software as a whole. This makes the developers&rsquo; work easier, as the errors are easy to find at this stage, which saves time and money.<\/p>\n<p>In addition, within <strong>unit test environments<\/strong>, the individual modules of a product are isolated from each other and have their own area of responsibility. In this scenario, the tests are more reliable as they are carried out in a closed environment. These <a href=\"https:\/\/rock-the-prototype.com\/en\/programming-languages-frameworks\/framework\/\" target=\"_blank\" title=\"A framework is a set of guidelines or rules that provides a structure for the organization and development of code in a particular programming language or platform. The framework serves as a basis or blueprint on which to build when developing software applications.\" class=\"encyclopedia\">framework<\/a> conditions also make the code more reliable. A <a href=\"https:\/\/rock-the-prototype.com\/wiki\/release\/\"><br>\n<strong>release<\/strong><br>\n<\/a> can therefore be used more quickly as error-free software.<\/p>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.iTunes Podcast - Episode 7 - Agile Testing - Podcast Interview with Lisi Hocke - The Key Role for Successful Software Development - Rock the Prototype Podcast\" href=\"#\"><iframe style=\"width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px;\" src=\"https:\/\/embed.podcasts.apple.com\/us\/podcast\/episode-7-agile-testing-podcast-interview-with-lisi\/id1684835330?i=1000625538696\" height=\"175\" frameborder=\"0\" sandbox=\"allow-forms allow-popups allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation-by-user-activation\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-3\"><h2><span class=\"ez-toc-section\" id=\"What_advantages_do_unit_tests_offer\"><\/span>What advantages do unit tests offer?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Unit tests help to find and rectify errors quickly and easily.<\/li>\n<li>Unit tests contribute to higher code quality.<\/li>\n<li>Unit tests contribute to a better application architecture.<\/li>\n<li>Unit tests serve as documentation.<\/li>\n<li>The main advantage of unit tests is their perfectly precise test focus.<\/li>\n<li>a unit test is an iterative source of valuable test feedback<\/li>\n<\/ul>\n<div id=\"attachment_4083\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" aria-describedby=\"caption-attachment-4083\" class=\"size-full wp-image-4082\" src=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests.jpg\" alt=\"What advantages do unit tests offer?\" width=\"1024\" height=\"1024\" srcset=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-66x66.jpg 66w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-150x150.jpg 150w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-200x200.jpg 200w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-300x300.jpg 300w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-400x400.jpg 400w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-600x600.jpg 600w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-768x768.jpg 768w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests-800x800.jpg 800w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Welche-Vorteile-bieten-Unit-Tests.jpg 1024w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><p id=\"caption-attachment-4083\" class=\"wp-caption-text\">What advantages do unit tests offer?<\/p><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Unit_testing_is_aimed_at_testing_individual_functions\"><\/span>Unit testing is aimed at testing individual functions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>As you always test a single function with the <strong>unit testing methodology<\/strong>, each unit test gives you absolutely precise feedback. If a unit test fails, the testers can be sure in the vast majority of cases that the tested function is the problem.<\/p>\n<div id=\"attachment_4085\" style=\"width: 1034px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" aria-describedby=\"caption-attachment-4085\" class=\"size-full wp-image-4084\" src=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab.jpg\" alt=\"Unit testing is aimed at testing individual functions\" width=\"1024\" height=\"1024\" srcset=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-66x66.jpg 66w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-150x150.jpg 150w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-200x200.jpg 200w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-300x300.jpg 300w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-400x400.jpg 400w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-600x600.jpg 600w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-768x768.jpg 768w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab-800x800.jpg 800w, https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Testing-zielt-auf-den-Test-einzelner-Funktionen-ab.jpg 1024w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"><p id=\"caption-attachment-4085\" class=\"wp-caption-text\">Unit testing is aimed at testing individual functions<\/p><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Unit_testing_is_fast\"><\/span>Unit testing is fast!<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Unit tests are also known for their speed. Because they are quick to perform, these tests are carried out regularly and much more frequently than other testing methodologies, making them a source of almost constant valuable feedback.<\/p>\n<p>Because they are quick to perform, these tests are carried out regularly and much more frequently than other testing methodologies, making them a source of almost constant valuable feedback. Here are some important facts that underline this speed:<\/p>\n<ul>\n<li><strong>Short execution time<\/strong>: Unit tests only check a small unit of code, which makes their execution extremely fast.<\/li>\n<li><strong>Immediate feedback<\/strong>: Developers receive immediate feedback on the effects of their code changes.<\/li>\n<li><strong>Can be automated<\/strong>: They can be automated and integrated as part of the Continuous Integration\/Continuous Deployment (CI\/CD) process.<\/li>\n<li><strong>Fewer dependencies<\/strong>: As unit tests run in isolation from other parts of the system, time-consuming configurations and setup processes are eliminated.<\/li>\n<li><strong>Easy repeatability<\/strong>: Due to their speed, they can be easily repeated to ensure the stability of the code.<\/li>\n<li><strong>Early error detection<\/strong>: Fast tests lead to early identification of problems, which makes troubleshooting more efficient.<\/li>\n<li><strong>Scalability<\/strong>: Despite an increasing code base, the execution time of unit tests generally remains low.<\/li>\n<\/ul>\n<p>These factors contribute to the fact that unit tests are an efficient and fast method for quality assurance in software development.<\/p>\n<\/div><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Podcast Software Development - Idea generation and creativity in software development\" href=\"#\"><iframe class=\"lazyload\" style=\"border-radius: 12px;\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27100%27%20height%3D%27352%27%20viewBox%3D%270%200%20100%20352%27%3E%3Crect%20width%3D%27100%27%20height%3D%27352%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/open.spotify.com\/embed\/episode\/54PtfzZlt3gTfrxDcx4wrC?utm_source=generator\" width=\"100%\" height=\"352\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/a>\n<div class=\"fusion-text fusion-text-4\"><h2><span class=\"ez-toc-section\" id=\"Best_practice_for_creating_unit_tests\"><\/span>Best practice for creating unit tests<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We provide you with a <a href=\"https:\/\/rock-the-prototype.com\/wiki\/design-pattern\/\"><br>\n<strong>design pattern <\/strong><br>\n<\/a>for <strong>unit testing<\/strong>. You can <strong>create effective unit tests<\/strong> with this tried-and-tested procedure:<\/p>\n<p>To do this, you should observe the following <strong>requirements and framework conditions<\/strong> when <strong>creating unit tests<\/strong>:<\/p>\n<ol>\n<li>The tests should be fast and simple, i.e. the developers must execute the test cases at a higher speed, as this serves the purpose of unit testing. If they are slow, the developers will not execute the test cases as often as they should. The simpler the unit test cases are, the more accurate the test results will be.<\/li>\n<li>Test cases should not duplicate the implementation logic.<\/li>\n<li>Test cases should be deterministic, i.e. the defined tests should always show the same behavior as long as the analyzed code is unchanged.<\/li>\n<li>In order to keep the tests deterministic, quality measures must be taken to ensure that the test cases are executed on real browsers and devices, not on emulators and simulators.<\/li>\n<li>Without use in real production environments, test results will not be anywhere near deterministic or accurate. Use real, functioning devices for meaningful tests.<\/li>\n<li>Adopt a standardized, meaningful naming convention for all test cases.<\/li>\n<\/ol>\n<\/div><div class=\"fusion-text fusion-text-5\"><h2><span class=\"ez-toc-section\" id=\"Unit_tests_The_key_to_ensuring_high_software_quality\"><\/span>Unit tests: The key to ensuring high software quality<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"How_to_successfully_test_your_software_development_with_unit_tests\"><\/span>How to successfully test your software development with unit tests:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>This is how you should proceed to create your unit test for quality assurance:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Understand_what_is_to_be_tested\"><\/span>Step 1: Understand what is to be tested<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Identify the test objectives<\/strong>: Understand the functionality that the unit test should cover. This could be a method, a class or a small function group.<\/li>\n<li><strong>Define clear expectations<\/strong>: Make sure you know exactly what should happen when the code executes successfully.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Set_up_the_test_environment\"><\/span>Step 2: Set up the test environment<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Choose a test framework<\/strong>: Decide on a framework such as JUnit (for <a href=\"https:\/\/rock-the-prototype.com\/en\/programming-languages-frameworks\/java\/\" target=\"_blank\" title=\"What is Java suitable for in programming? Java is very popular as the official language for developing Android apps. It is a general purpose programming language. This programming language is supported by Google and a large active community of developers.\" class=\"encyclopedia\">Java<\/a>), NUnit (for .NET) or Jest (for JavaScript).<\/li>\n<li><strong>Set up the test environment<\/strong>: Install the selected framework and configure your development environment accordingly.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Write_the_test\"><\/span>Step 3: Write the test<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Create test cases<\/strong>: Write test cases that cover different aspects of functionality, including normal, limit and error cases.<\/li>\n<li><strong>Use assertions<\/strong>: Use assertions to check the expected behavior of the code.<\/li>\n<li><strong>Keep tests independent<\/strong>: Make sure that each test can run independently of others.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Test_execution\"><\/span>Step 4: Test execution<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Execute <strong>the tests<\/strong>: Start the tests via your development environment or a command line interface.<\/li>\n<li><strong>Analyze the results<\/strong>: Review the test results to ensure that all tests passed or to understand why some failed.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Troubleshooting_and_optimization\"><\/span>Step 5: Troubleshooting and optimization<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Fix bugs<\/strong>: If tests fail, identify and fix the underlying problems in the code.<\/li>\n<li><strong>Optimize the code<\/strong>: Use the findings from the tests to improve and optimize the code.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Repeated_implementation_and_integration\"><\/span>Step 6: Repeated implementation and integration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Automate test execution<\/strong>: Integrate the tests into a continuous integration process to execute them automatically whenever code changes.<\/li>\n<li><strong>Keep the tests up to date<\/strong>: Update the tests regularly to keep up with changes in the code.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Step_7_Documentation_and_maintenance\"><\/span>Step 7: Documentation and maintenance<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>Document the tests<\/strong>: Make sure the tests are well documented to make their purposes and approaches clear to other developers.<\/li>\n<li><strong>Maintain the tests<\/strong>: Maintain and update the tests over time to ensure their relevance and effectiveness.<\/li>\n<\/ul>\n<p>By following these steps, you can create effective and reliable unit tests that play an important role in the quality assurance of your software.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container has-pattern-background has-mask-background nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\"><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1144px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><a class=\"fusion-modal-text-link\" data-toggle=\"modal\" data-target=\".fusion-modal.Rock the Prototype - Software development &amp; Prototyping Podcast iTunes\" href=\"#\"><iframe id=\"embedPlayer\" style=\"width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px; transform: translateZ(0px); animation: 2s ease 0s 6 normal none running loading-indicator; background-color: #e4e4e4;\" src=\"https:\/\/embed.podcasts.apple.com\/us\/podcast\/rock-the-prototype-software-development-prototyping\/id1684835330?itsct=podcast_box_player&amp;itscg=30200&amp;ls=1&amp;theme=auto\" height=\"450px\" frameborder=\"0\" sandbox=\"allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation\"><\/iframe><\/a><\/div><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>What is a unit test? A unit test checks the behavior of a software unit in the system. This test for software checks whether a small and isolated part of the code base, called a &#8220;unit&#8221;, behaves as the developer intended. The unit test checks whether an isolated piece of code does what it is supposed to do<\/p>\n","protected":false},"author":1,"featured_media":4078,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"categories":[1141],"tags":[1171,1172,1940,1939,1721,1144,1944,1176,1731,1943,1464,1174,1142,1729,1942,1147,1625,1146,1148,1946,1710,1949,1945,1947,1950,1319,1948],"class_list":["post-4438","encyclopedia","type-encyclopedia","status-publish","has-post-thumbnail","hentry","category-software-development","tag-app-en","tag-apps-en","tag-boolean-check","tag-condition-en","tag-conditions-en","tag-design-pattern-en","tag-engineering-tests-en","tag-frameworks-en","tag-microservice-programming","tag-microservices-en","tag-object-orientation","tag-program-microservice","tag-programming","tag-release-en","tag-releases-en","tag-software-architecture","tag-software-as-a-service-en","tag-software-design-en","tag-software-development","tag-software-test","tag-software-tests","tag-test-driven-development-en","tag-test-for-software","tag-test-procedure","tag-test-driven-development-en-2","tag-testing-en","tag-unit-tests-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unit test - Unit Tests &amp; Quality Assurance for Software Development<\/title>\n<meta name=\"description\" content=\"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unit test - Unit Tests &amp; Quality Assurance for Software Development\" \/>\n<meta property=\"og:description\" content=\"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/\" \/>\n<meta property=\"og:site_name\" content=\"Rock the Prototype - Softwareentwicklung &amp; Prototyping\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-13T14:45:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/\",\"url\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/\",\"name\":\"Unit test - Unit Tests & Quality Assurance for Software Development\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rock-the-prototype.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/Unit-Test.jpg\",\"datePublished\":\"2023-12-13T08:15:23+00:00\",\"dateModified\":\"2023-12-13T14:45:15+00:00\",\"description\":\"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rock-the-prototype.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/Unit-Test.jpg\",\"contentUrl\":\"https:\\\/\\\/rock-the-prototype.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/Unit-Test.jpg\",\"width\":1024,\"height\":1024,\"caption\":\"Unit Test\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/software-development\\\/unit-test\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/rock-the-prototype\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prototyping Wiki\",\"item\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/wiki\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Unit test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/\",\"name\":\"Rock the Prototype - Softwareentwicklung &amp; Prototyping\",\"description\":\"Prototyping: Software Prototypen, Software entwickeln &amp; Programmieren im Team\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rock-the-prototype.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unit test - Unit Tests & Quality Assurance for Software Development","description":"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705","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:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/","og_locale":"en_US","og_type":"article","og_title":"Unit test - Unit Tests & Quality Assurance for Software Development","og_description":"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705","og_url":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/","og_site_name":"Rock the Prototype - Softwareentwicklung &amp; Prototyping","article_modified_time":"2023-12-13T14:45:15+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/","url":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/","name":"Unit test - Unit Tests & Quality Assurance for Software Development","isPartOf":{"@id":"https:\/\/rock-the-prototype.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#primaryimage"},"image":{"@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#primaryimage"},"thumbnailUrl":"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.jpg","datePublished":"2023-12-13T08:15:23+00:00","dateModified":"2023-12-13T14:45:15+00:00","description":"What is a unit test? \u2705 Why should you write unit tests as a developer? \u2705 What advantages do unit tests offer? \u2705 Best practice for creating \u2705","breadcrumb":{"@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#primaryimage","url":"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.jpg","contentUrl":"https:\/\/rock-the-prototype.com\/wp-content\/uploads\/2022\/08\/Unit-Test.jpg","width":1024,"height":1024,"caption":"Unit Test"},{"@type":"BreadcrumbList","@id":"https:\/\/rock-the-prototype.com\/en\/software-development\/unit-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/rock-the-prototype.com\/en\/rock-the-prototype\/"},{"@type":"ListItem","position":2,"name":"Prototyping Wiki","item":"https:\/\/rock-the-prototype.com\/en\/wiki\/"},{"@type":"ListItem","position":3,"name":"Unit test"}]},{"@type":"WebSite","@id":"https:\/\/rock-the-prototype.com\/en\/#website","url":"https:\/\/rock-the-prototype.com\/en\/","name":"Rock the Prototype - Softwareentwicklung &amp; Prototyping","description":"Prototyping: Software Prototypen, Software entwickeln &amp; Programmieren im Team","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rock-the-prototype.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/encyclopedia\/4438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/encyclopedia"}],"about":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/types\/encyclopedia"}],"author":[{"embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/users\/1"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/media\/4078"}],"wp:attachment":[{"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/media?parent=4438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/categories?post=4438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rock-the-prototype.com\/en\/wp-json\/wp\/v2\/tags?post=4438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}