{"id":545,"date":"2018-10-23T19:22:30","date_gmt":"2018-10-24T02:22:30","guid":{"rendered":"http:\/\/dragonwarz.net\/?p=545"},"modified":"2018-10-23T19:22:30","modified_gmt":"2018-10-24T02:22:30","slug":"making-programs-to-test-my-programs","status":"publish","type":"post","link":"https:\/\/dragonwarz.net\/?p=545","title":{"rendered":"Making programs to test my programs!"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Another milestone reached!\u00a0 I have now looked into and created a unittest program for testing the control center program.\u00a0 It&#8217;s just a basic one right now, and it mostly tests the configuration sections.\u00a0 As time goes on, I&#8217;ll add more tests and probably re-structure some of my other functions to be more test friendly.\u00a0\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With tests coming along and the GUI broken up using OOP concepts, I think that covers 2 of the bigger things I had to figure out.\u00a0 Now it&#8217;s just optimizing and expanding them&#8230; or another overhaul, if I find other new programing concepts worth implementing.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I might work on adding the control center into the Raspberry Pi Sensor installer next &#8230; and creating menu shortcuts would be nice too.\u00a0 That way, you can fully test out the sensor programs, simply by setting up a Raspberry Pi.\u00a0 The sensors also responds a lot nicer, when it&#8217;s using 127.0.0.1 ^_^<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So most likely I&#8217;ll be doing touch up work next.\u00a0 I have a fairly decent list of smaller changes to be made, like making live graphs work with the Trigger sensor types, adding a &#8220;Last updated&#8221; entry on my reports and implementing more unit tests.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Until next time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another milestone reached!\u00a0 I have now looked into and created a unittest program for testing the control center program.\u00a0 It&#8217;s just a basic one right now, and it mostly tests the configuration sections.\u00a0 As time goes on, I&#8217;ll add more &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/dragonwarz.net\/?p=545\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-545","post","type-post","status-publish","format-standard","hentry","category-random"],"_links":{"self":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=545"}],"version-history":[{"count":1,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions"}],"predecessor-version":[{"id":546,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=\/wp\/v2\/posts\/545\/revisions\/546"}],"wp:attachment":[{"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dragonwarz.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}