{"id":169,"date":"2018-06-26T11:33:53","date_gmt":"2018-06-26T11:33:53","guid":{"rendered":"http:\/\/fip.r-a-w.org\/?p=169"},"modified":"2018-06-26T11:33:53","modified_gmt":"2018-06-26T11:33:53","slug":"you-make-me-feel-like-testing-gonna-test-the-night-away","status":"publish","type":"post","link":"https:\/\/fip.r-a-w.org\/?p=169","title":{"rendered":"You Make Me Feel Like Testing, Gonna Test The Night Away"},"content":{"rendered":"<p>I have reached the stage where I no longer wish to mess with the structure of the WhitestarMediaLibrary. In art, you have to decide when to stop and move on. In this case I may wish to alter the structure if, in the future a fundamental fault is identified. Now I feel like I need to brush up on my testing skills.<\/p>\n<p>However before I do this, below is a complete class diagram of the WhitestarsMediaLibrary.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"178\" data-permalink=\"https:\/\/fip.r-a-w.org\/?attachment_id=178\" data-orig-file=\"https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?fit=2808%2C2731&amp;ssl=1\" data-orig-size=\"2808,2731\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WhitestarLibraryUML 22-6-18\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?fit=700%2C681&amp;ssl=1\" class=\"alignnone size-large wp-image-178\" src=\"https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=700%2C681&#038;ssl=1\" alt=\"\" width=\"700\" height=\"681\" srcset=\"https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=1024%2C996&amp;ssl=1 1024w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=300%2C292&amp;ssl=1 300w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=768%2C747&amp;ssl=1 768w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=700%2C681&amp;ssl=1 700w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=2000%2C1945&amp;ssl=1 2000w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=411%2C400&amp;ssl=1 411w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?resize=50%2C50&amp;ssl=1 50w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?w=1400&amp;ssl=1 1400w, https:\/\/i0.wp.com\/fip.r-a-w.org\/wp-content\/uploads\/2018\/06\/WhitestarLibraryUML-22-6-18.png?w=2100&amp;ssl=1 2100w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>I have also created a git repository on GitLab which I will make public once I have completed adding tests and documentation.<\/p>\n<p>&nbsp;<\/p>\n<h1>Let&#8217;s get on with testing.<\/h1>\n<p>As I am pretty keen on all things GTT (Getting Things Done),\u00a0 I thought a checklist would be appropriate when going through each class. I imagine this list will grow and change as I complete creating the tests on each class. As of today the checklist is:<\/p>\n<ul>\n<li>No test for those to simple to fail (e.g setters and getters)<\/li>\n<li>Test positive and negative results<\/li>\n<li>Test Exceptions<\/li>\n<li>Suitalble for Test Parameterisation<\/li>\n<li>Test Documentation<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I have reached the stage where I no longer wish to mess with the structure of the WhitestarMediaLibrary. In art, you have to decide when to stop and move on. In this case I may wish to alter the structure if, in the future a fundamental fault is identified. Now I feel like I need &hellip; <a href=\"https:\/\/fip.r-a-w.org\/?p=169\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">You Make Me Feel Like Testing, Gonna Test The Night Away<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"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","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-implementation"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9NvWe-2J","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=169"}],"version-history":[{"count":5,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=\/wp\/v2\/posts\/169\/revisions\/183"}],"wp:attachment":[{"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fip.r-a-w.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}