{"id":335,"date":"2011-09-03T14:29:17","date_gmt":"2011-09-03T21:29:17","guid":{"rendered":"http:\/\/angryweasel.com\/blog\/?p=335"},"modified":"2011-09-03T14:41:36","modified_gmt":"2011-09-03T21:41:36","slug":"numberz-challenge","status":"publish","type":"post","link":"https:\/\/angryweasel.com\/blog\/numberz-challenge\/","title":{"rendered":"Numberz Challenge"},"content":{"rendered":"<p>Last week I wrote about <a href=\"http:\/\/angryweasel.com\/blog\/?p=325\" target=\"_blank\">test design<\/a> and imagined an app where I thought automation could help with testing. I had some time this morning, so I went ahead and made the application.<\/p>\n<p><a href=\"http:\/\/angryweasel.com\/blog\/wp-content\/uploads\/2011\/09\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 5px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"image\" src=\"http:\/\/angryweasel.com\/blog\/wp-content\/uploads\/2011\/09\/image_thumb1.png\" alt=\"image\" width=\"400\" height=\"237\" border=\"0\" \/><\/a><\/p>\n<p>When you press the \u201cRoll!\u201d button, the app generates 5 random numbers between 0 &amp; 9 (inclusive), and sums the numbers in the \u201cTotal\u201d above. The stakeholder\u2019s primary objectives are that the numbers are random, and that the summing function is correct.<\/p>\n<p>To be honest, this is an app where you could probably prove functional correctness via code review, but let\u2019s stick with black box testing for this exercise. The hints in the original post may or may not provide clues to defects in this implementation (that may or may not exist).<\/p>\n<h4>Here\u2019s the challenge<\/h4>\n<p>If you want to play a little game for me and do some testing, test this app and tell me if it\u2019s ready to ship (according to the stakeholder expectations). Report your findings in the comments section by\u00a0<strong>11:59pm on Wednesday,\u00a0September 7. <\/strong>For the best report (tie-breakers go to earlier submissions), I\u2019ll send you a copy of <a href=\"http:\/\/www.hwtsam.com\">HWTSAM<\/a> (optionally autographed), or a $20 Amazon gift certificate.<\/p>\n<p>In a perfect world, I&#8217;d have an object model or some other way to test the functionality without using the GUI. Sorry\u00a0&#8211; for this example, the world isn&#8217;t perfect.<\/p>\n<p>Oh yeah &#8211; the app is Windows only &#8211; sorry. But if someone wants to send me a Mac Air, I promise I will write Mac version of the app.<\/p>\n<p>I&#8217;ll answer any other questions on twitter (@alanpage), or in the comments. Good Luck.<\/p>\n<p>If you want to play, a <a href=\"http:\/\/angryweasel.com\/Bins\/Numberz.zip\" target=\"_blank\">zip file with the binary is here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I wrote about test design and imagined an app where I thought automation could help with testing. I had some time this morning, so I went ahead and made the application. When you press the \u201cRoll!\u201d button, the app generates 5 random numbers between 0 &amp; 9 (inclusive), and sums the numbers in&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-335","post","type-post","status-publish","format-standard","hentry","category-allposts"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":0,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/posts\/335\/revisions"}],"wp:attachment":[{"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/media?parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/categories?post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angryweasel.com\/blog\/wp-json\/wp\/v2\/tags?post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}