{"id":509,"date":"2018-03-12T17:30:03","date_gmt":"2018-03-12T16:30:03","guid":{"rendered":"http:\/\/glancu.com\/blog\/?p=509"},"modified":"2018-06-15T22:09:17","modified_gmt":"2018-06-15T20:09:17","slug":"testy-jednostkowe-po-co-to-komu","status":"publish","type":"post","link":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/","title":{"rendered":"Testy jednostkowe. Po co to komu?"},"content":{"rendered":"<div class=\"content\"><p>Cze\u015b\u0107. Dzisiaj opowiem troch\u0119 o testach jednostkowych. Zapraszam!<!--more--><\/p>\n<h3>Czym s\u0105 testy jednostkowe?<\/h3>\n<p>Testy jednostkowe to nic innego jak metoda testowania wytwarzanego oprogramowania, polegaj\u0105ca na pisaniu metod testuj\u0105cych okre\u015blone jednostki kodu. Jednostkami mog\u0105 by\u0107 na przyk\u0142ad metody lub klasy.<\/p>\n<h3>Po co s\u0105 testy jednostkowe?<\/h3>\n<p>Skoro ju\u017c wiesz, czym s\u0105 testy, to teraz pewnie zastanawiasz si\u0119, po co w og\u00f3le te testy s\u0105.<\/p>\n<p>Piszesz projekt, kt\u00f3ry wymy\u015bli\u0142e\u015b\/wymy\u015bli\u0142a\u015b dla samego siebie, ewentualnie dodasz na githuba i po co Ci tutaj testy? No mo\u017ce w prostym projekcie, kt\u00f3ry tworzysz sam(a), to testy nie s\u0105 potrzebne.<\/p>\n<p>Wyobra\u017a sobie sytuacj\u0119, w kt\u00f3rej tworzysz wraz z innymi programistami projekt, ka\u017cdy dodaje co\u015b od siebie, zamienia itp. lub tworzysz sam, ale do\u015b\u0107 du\u017cy projekt.<\/p>\n<p>Testy jednostkowe pozwol\u0105 Ci testowa\u0107, czy dana funkcja lub klasa dzia\u0142a w taki spos\u00f3b, w jaki mia\u0142a zosta\u0107 zaprojektowana, na przyk\u0142ad jest metoda, kt\u00f3ra pobiera sobie jakiego\u015b arraya, w kt\u00f3rym s\u0105 przecinki i musi sprawdzi\u0107, czy co\u015b si\u0119 nie powtarza. Piszesz test, kt\u00f3ry b\u0119dzie to testowa\u0142 i wskazywa\u0142 100% pokrycia, w przypadku pozytywnego testu. P\u00f3\u017aniej jednak jaki\u015b programista co\u015b zmieni\u0142 i zamiast arraya przychodzi string. Wtedy test si\u0119 nie zgadza i nie musisz szuka\u0107 dlaczego, tylko masz podane jak na tacy co, jak, z czym i dlaczego tak.<\/p>\n<h3>Nie ma czasu na pisanie test\u00f3w<\/h3>\n<p>Doprawdy? Owszem, mog\u0119 si\u0119 zgodzi\u0107, \u017ce pisanie test\u00f3w mo\u017ce by\u0107 czasoch\u0142onne, poniewa\u017c musisz po\u015bwieci\u0107 za ka\u017cdym razem dodatkowy czas na pisanie testu, ale uwierz mi, \u017ce w przysz\u0142o\u015bci ten czas si\u0119 zwr\u00f3ci. Tym bardziej, jak jest tworzony projekt z kilkoma programistami, kt\u00f3rzy s\u0105 na r\u00f3\u017cnym poziomie i czasami wpadnie jaka\u015b gafa.<\/p>\n<h3>Podsumowanie<\/h3>\n<p>Testy s\u0105 naprawd\u0119 wa\u017cn\u0105 rzecz\u0105, je\u017celi tworzysz wi\u0119kszy projekt lub nie tworzysz go sam. Sztuk\u0105 nie jest napisa\u0107 testy, kt\u00f3re b\u0119d\u0105 pokrywa\u0142y si\u0119 za ka\u017cdym razem w 100%, ale sztuk\u0105 jest napisa\u0107 takie testy, kt\u00f3re wska\u017c\u0105 b\u0142\u0105d, je\u017celi on faktycznie si\u0119 pojawi.<\/p>\n<p>Je\u017celi tworzysz projekt dla klienta, to r\u00f3wnie\u017c wypada\u0142oby owe testy napisa\u0107. Dlaczego? By\u0107 mo\u017ce w przysz\u0142o\u015bci klient b\u0119dzie chcia\u0142 co\u015b doda\u0107 i poprosi o to innego programist\u0119, kt\u00f3ry z odpowiednimi testami b\u0119dzie m\u00f3g\u0142 ewentualnie zobaczy\u0107 b\u0142\u0119dy podczas wdra\u017cania swojego kodu.<\/p>\n<p>A czy Ty piszesz testy jednostkowe? Podziel si\u0119 swoj\u0105 odpowiedzi\u0105 w komentarzu poni\u017cej. Zapraszam Ci\u0119 r\u00f3wnie\u017c do odwiedzenia moich socialmedia, kt\u00f3re znajdziesz po prawej stronie. Dzi\u0119ki nimi b\u0119dziesz na bie\u017c\u0105co z nowymi wpisami, kt\u00f3re by\u0107 mo\u017ce pomog\u0105 Ci si\u0119 rozwija\u0107. Cze\u015b\u0107!<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<div class=\"post-excerpt\">Cze\u015b\u0107. Dzisiaj opowiem troch\u0119 o testach jednostkowych. Zapraszam!<\/div>\n","protected":false},"author":31241,"featured_media":577,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[261],"tags":[54,214,215,53,213,148],"class_list":["post-509","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-co","tag-jednostkowe","tag-komu","tag-po","tag-testy","tag-to"],"better_featured_image":{"id":577,"alt_text":"test driven development","caption":"","description":"","media_type":"image","media_details":{"width":2048,"height":1365,"file":"2018\/05\/test-driven-development.png","sizes":{"thumbnail":{"file":"test-driven-development-440x290.png","width":440,"height":290,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-440x290.png"},"medium":{"file":"test-driven-development-300x200.png","width":300,"height":200,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-300x200.png"},"medium_large":{"file":"test-driven-development-768x512.png","width":768,"height":512,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-768x512.png"},"large":{"file":"test-driven-development-1100x733.png","width":1100,"height":733,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-1100x733.png"},"gazana_hd":{"file":"test-driven-development-1920x1280.png","width":1920,"height":1280,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-1920x1280.png"},"gazana_standard":{"file":"test-driven-development-1100x640.png","width":1100,"height":640,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-1100x640.png"},"gazana_square":{"file":"test-driven-development-1100x1100.png","width":1100,"height":1100,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-1100x1100.png"},"gazana_grid":{"file":"test-driven-development-530x380.png","width":530,"height":380,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-530x380.png"},"gazana_list":{"file":"test-driven-development-530x640.png","width":530,"height":640,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-530x640.png"},"gazana_masonry":{"file":"test-driven-development-530x353.png","width":530,"height":353,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-530x353.png"},"gazana_mini":{"file":"test-driven-development-100x100.png","width":100,"height":100,"mime-type":"image\/png","source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development-100x100.png"}},"image_meta":{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0","keywords":[]}},"post":546,"source_url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development.png"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Norbert Glanc\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Glancu | Glancu.com | Rozw\u00f3j osobisty, kreatywno\u015b\u0107, oszcz\u0119dzanie czasu, motywacja i programowanie.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-03-12T16:30:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-06-15T20:09:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#article\",\"name\":\"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com\",\"headline\":\"Testy jednostkowe. Po co to komu?\",\"author\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/author\\\/glancu\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/glancu.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/test-driven-development.png\",\"width\":2048,\"height\":1365,\"caption\":\"test driven development\"},\"datePublished\":\"2018-03-12T17:30:03+01:00\",\"dateModified\":\"2018-06-15T22:09:17+02:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#webpage\"},\"articleSection\":\"WEB, co, jednostkowe, komu, po, testy, to\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/glancu.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/category\\\/web\\\/#listItem\",\"name\":\"WEB\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/category\\\/web\\\/#listItem\",\"position\":2,\"name\":\"WEB\",\"item\":\"https:\\\/\\\/glancu.com\\\/blog\\\/category\\\/web\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#listItem\",\"name\":\"Testy jednostkowe. Po co to komu?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#listItem\",\"position\":3,\"name\":\"Testy jednostkowe. Po co to komu?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/category\\\/web\\\/#listItem\",\"name\":\"WEB\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/#organization\",\"name\":\"Glancu | Glancu.com\",\"description\":\"Rozw\\u00f3j osobisty, kreatywno\\u015b\\u0107, oszcz\\u0119dzanie czasu, motywacja i programowanie.\",\"url\":\"https:\\\/\\\/glancu.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/author\\\/glancu\\\/#author\",\"url\":\"https:\\\/\\\/glancu.com\\\/blog\\\/author\\\/glancu\\\/\",\"name\":\"Norbert Glanc\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bfb750158f69b51eca9aa252c861a5569a9e5b2c32388cf5fcefecfc79569748?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Norbert Glanc\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#webpage\",\"url\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/\",\"name\":\"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com\",\"description\":\"Zastanawiasz si\\u0119, kiedy warto pisa\\u0107 testy jednostkowe? Dla kogo one s\\u0105 szczeg\\u00f3lnie wa\\u017cne? M\\u00f3j wpis pomo\\u017ce Ci rozwia\\u0107 Twoje w\\u0105tpliwo\\u015bci.\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/author\\\/glancu\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/author\\\/glancu\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/glancu.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/test-driven-development.png\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#mainImage\",\"width\":2048,\"height\":1365,\"caption\":\"test driven development\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/testy-jednostkowe-po-co-to-komu\\\/#mainImage\"},\"datePublished\":\"2018-03-12T17:30:03+01:00\",\"dateModified\":\"2018-06-15T22:09:17+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/glancu.com\\\/blog\\\/\",\"name\":\"Glancu | Glancu.com\",\"description\":\"Rozw\\u00f3j osobisty, kreatywno\\u015b\\u0107, oszcz\\u0119dzanie czasu, motywacja i programowanie.\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"https:\\\/\\\/glancu.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com","description":"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.","canonical_url":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#article","name":"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com","headline":"Testy jednostkowe. Po co to komu?","author":{"@id":"https:\/\/glancu.com\/blog\/author\/glancu\/#author"},"publisher":{"@id":"https:\/\/glancu.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development.png","width":2048,"height":1365,"caption":"test driven development"},"datePublished":"2018-03-12T17:30:03+01:00","dateModified":"2018-06-15T22:09:17+02:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#webpage"},"isPartOf":{"@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#webpage"},"articleSection":"WEB, co, jednostkowe, komu, po, testy, to"},{"@type":"BreadcrumbList","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/glancu.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog\/category\/web\/#listItem","name":"WEB"}},{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog\/category\/web\/#listItem","position":2,"name":"WEB","item":"https:\/\/glancu.com\/blog\/category\/web\/","nextItem":{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#listItem","name":"Testy jednostkowe. Po co to komu?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#listItem","position":3,"name":"Testy jednostkowe. Po co to komu?","previousItem":{"@type":"ListItem","@id":"https:\/\/glancu.com\/blog\/category\/web\/#listItem","name":"WEB"}}]},{"@type":"Organization","@id":"https:\/\/glancu.com\/blog\/#organization","name":"Glancu | Glancu.com","description":"Rozw\u00f3j osobisty, kreatywno\u015b\u0107, oszcz\u0119dzanie czasu, motywacja i programowanie.","url":"https:\/\/glancu.com\/blog\/"},{"@type":"Person","@id":"https:\/\/glancu.com\/blog\/author\/glancu\/#author","url":"https:\/\/glancu.com\/blog\/author\/glancu\/","name":"Norbert Glanc","image":{"@type":"ImageObject","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/bfb750158f69b51eca9aa252c861a5569a9e5b2c32388cf5fcefecfc79569748?s=96&d=mm&r=g","width":96,"height":96,"caption":"Norbert Glanc"}},{"@type":"WebPage","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#webpage","url":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/","name":"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com","description":"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.","inLanguage":"pl-PL","isPartOf":{"@id":"https:\/\/glancu.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#breadcrumblist"},"author":{"@id":"https:\/\/glancu.com\/blog\/author\/glancu\/#author"},"creator":{"@id":"https:\/\/glancu.com\/blog\/author\/glancu\/#author"},"image":{"@type":"ImageObject","url":"http:\/\/glancu.com\/blog\/wp-content\/uploads\/2018\/05\/test-driven-development.png","@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#mainImage","width":2048,"height":1365,"caption":"test driven development"},"primaryImageOfPage":{"@id":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/#mainImage"},"datePublished":"2018-03-12T17:30:03+01:00","dateModified":"2018-06-15T22:09:17+02:00"},{"@type":"WebSite","@id":"https:\/\/glancu.com\/blog\/#website","url":"https:\/\/glancu.com\/blog\/","name":"Glancu | Glancu.com","description":"Rozw\u00f3j osobisty, kreatywno\u015b\u0107, oszcz\u0119dzanie czasu, motywacja i programowanie.","inLanguage":"pl-PL","publisher":{"@id":"https:\/\/glancu.com\/blog\/#organization"}}]},"og:locale":"pl_PL","og:site_name":"Glancu | Glancu.com | Rozw\u00f3j osobisty, kreatywno\u015b\u0107, oszcz\u0119dzanie czasu, motywacja i programowanie.","og:type":"article","og:title":"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com","og:description":"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.","og:url":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/","article:published_time":"2018-03-12T16:30:03+00:00","article:modified_time":"2018-06-15T20:09:17+00:00","twitter:card":"summary","twitter:title":"Testy jednostkowe. Po co to komu? | Glancu | Glancu.com","twitter:description":"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci."},"aioseo_meta_data":{"post_id":"509","title":"Testy jednostkowe. Po co to komu? | #site_title","description":"Zastanawiasz si\u0119, kiedy warto pisa\u0107 testy jednostkowe? Dla kogo one s\u0105 szczeg\u00f3lnie wa\u017cne? M\u00f3j wpis pomo\u017ce Ci rozwia\u0107 Twoje w\u0105tpliwo\u015bci.","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"limit_modified_date":false,"created":"2021-01-04 21:27:07","updated":"2023-03-25 10:34:22","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/glancu.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/glancu.com\/blog\/category\/web\/\" title=\"WEB\">WEB<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tTesty jednostkowe. Po co to komu?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/glancu.com\/blog"},{"label":"WEB","link":"https:\/\/glancu.com\/blog\/category\/web\/"},{"label":"Testy jednostkowe. Po co to komu?","link":"https:\/\/glancu.com\/blog\/testy-jednostkowe-po-co-to-komu\/"}],"_links":{"self":[{"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/posts\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/users\/31241"}],"replies":[{"embeddable":true,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":1,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/posts\/509\/revisions\/512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/media\/577"}],"wp:attachment":[{"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glancu.com\/blog\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}