{"id":708,"date":"2014-08-09T07:04:14","date_gmt":"2014-08-09T05:04:14","guid":{"rendered":"http:\/\/blog.asym.dk\/2014\/08\/09\/do-it-right-a-value-in-context-driven-testing\/"},"modified":"2014-08-09T07:04:14","modified_gmt":"2014-08-09T05:04:14","slug":"do-it-right-a-value-in-context-driven-testing","status":"publish","type":"post","link":"https:\/\/www.asym.dk\/index.php\/2014\/08\/09\/do-it-right-a-value-in-context-driven-testing\/","title":{"rendered":"Do it right: A value in Context Driven Testing"},"content":{"rendered":"<p><b>The problem with me<\/b> is that <span lang=\"en-US\">I&#8217;m really bad <\/span>at following instructions. When people tell me to do something <span lang=\"en-US\">in a certain way<\/span>, I do it <span lang=\"en-US\">differently<\/span>.<br \/>\n<span lang=\"en-US\">It&#8217;s a <\/span><span lang=\"en-US\">problem when I cook, <\/span><span lang=\"en-US\">because I<\/span><span lang=\"en-US\">&#8216;m not particularly good at cooking. <\/span><span lang=\"en-US\">S<\/span><span lang=\"en-US\">o I have to follow recipies, and I often mess <\/span><span lang=\"en-US\">it <\/span><span lang=\"en-US\">up slightly<\/span><span lang=\"en-US\">. <\/span><span lang=\"en-US\">I&#8217;m improving, learning strategies to remember, but this is a fundamental personality trait for me.<\/span><br \/>\n<span lang=\"en-US\">And not one I&#8217;m sorry about. Because <\/span><span lang=\"en-US\">it&#8217;s not a problem when I test!<\/span><br \/>\n<b>I always <\/b><b>wanted to be a great tester.<\/b><br \/>\nI <span lang=\"en-US\">tend to <\/span>become really annoyed <span lang=\"en-US\">with myself <\/span>when a bug turns up in production in something I have tested. \u201dWhy did I miss that?!\u201d I feel guilty. <span lang=\"en-US\">You probably <\/span><span lang=\"en-US\">recognise the feeling.<\/span><br \/>\n<span lang=\"en-US\">The feeling <\/span><span lang=\"en-US\">of guilt is <\/span>ok. <span lang=\"en-US\">The fact that we can feel <\/span>guil<span lang=\"en-US\">t<\/span> proves that <span lang=\"en-US\">we <\/span>have consciousness, empathy and do the best w<span lang=\"en-US\">e <\/span>can. <span lang=\"en-US\">People who don&#8217;t care, don&#8217;t feel guilt.<\/span><br \/>\nBut <span lang=\"en-US\">in testing, <\/span>finding every bug is fundamentally impossible, so <span lang=\"en-US\">we <\/span>have to get over <span lang=\"en-US\">it <\/span><span lang=\"en-US\">and keep <\/span><span lang=\"en-US\">testing<\/span><span lang=\"en-US\">. <\/span><span lang=\"en-US\">Keep exploring!<\/span><br \/>\nEven before I <span lang=\"en-US\">learnt <\/span><span lang=\"en-US\">about<\/span> <span lang=\"en-US\">Context Driven Testing<\/span>, I knew that great testing could n<span lang=\"en-US\">ever<\/span> be about following test scripts <span lang=\"en-US\">and instructions<\/span>. I noticed that I got bored and <span lang=\"en-US\">lost attention <\/span>when I <span lang=\"en-US\">executed <\/span>the same <span lang=\"en-US\">test <\/span>scripts over and over again, <span lang=\"en-US\">b<\/span>ut I also noticed that I missed more bugs when I <span lang=\"en-US\"><i>only <\/i><\/span><span lang=\"en-US\">followed the instructions<\/span>.<br \/>\n<span lang=\"en-US\">So I stopped following the instructions. <\/span><span lang=\"en-US\">This gave me an explanation problem, however:<\/span><span lang=\"en-US\"> \u201cUhh, <\/span><span lang=\"en-US\">well <\/span><span lang=\"en-US\">I didn&#8217;t do<\/span> <span lang=\"en-US\"><i>quite<\/i><\/span><span lang=\"en-US\"> wh<\/span><span lang=\"en-US\">at I was <\/span><span lang=\"en-US\">asked <\/span><span lang=\"en-US\">to do&#8230;. but <\/span><span lang=\"en-US\"><i>hey <\/i><\/span><span lang=\"en-US\">you know, I found these interesting bugs <\/span><span lang=\"en-US\">that I can show you<\/span><span lang=\"en-US\">!\u201d<\/span><\/p>\n<p lang=\"en-US\">Can you hear it? That won&#8217;t impress old-school project managers with spreadsheets to check and plans to follow.<\/p>\n<p><span lang=\"en-US\">Context Driven Testing has helped me greatly <\/span><span lang=\"en-US\">in becoming a better tester<\/span><span lang=\"en-US\">. The thing is that CDT <\/span><span lang=\"en-US\">teaches me to do a great testing job <\/span><span lang=\"en-US\">without instructing me<\/span><b> <\/b><span lang=\"en-US\"><b>exactly <\/b><\/span><i><b>what<\/b><\/i><b> to do<\/b>. <span lang=\"en-US\">Instead, t<\/span>he community shares a lot of heuristics I can use to <span lang=\"en-US\">help me <\/span><i>do <\/i><span lang=\"en-US\"><i>a great testing job<\/i><\/span><span lang=\"en-US\">, <\/span><span lang=\"en-US\">and <\/span><span lang=\"en-US\">through thinking-training and inspiration from others, it&#8217;ll help me <\/span><span lang=\"en-US\">develop my capacity to do great testing in <\/span><span lang=\"en-US\">whatever <\/span><span lang=\"en-US\">contexts in which I&#8217;m working. <\/span><br \/>\n<span lang=\"en-US\">I<\/span><span lang=\"en-US\">t may be a bit difficult to grasp at first. <\/span><span lang=\"en-US\">A little worrying, perhaps.. But <\/span><span lang=\"en-US\">CDT is a really, really powerful testing approach<\/span><span lang=\"en-US\">.<\/span><\/p>\n<p lang=\"en-US\">And CDT has helped me explain what I do to my project managers. Even the old-school types!<\/p>\n<p lang=\"en-US\"><b>Social services and testing<\/b><\/p>\n<p>A few days ago, I read an article about quality in social services in which the following statement from the vice president of the Danish social workers union caught my attention: \u201dIt&#8217;s about doing it right, not about doing the right things.\u201d He was speaking of how the authorities try to help vulnerable children and their families.<br \/>\n<span lang=\"en-US\">T<\/span>he <span lang=\"en-US\">statement resonated with me, and <\/span><span lang=\"en-US\">a bit later <\/span>it occurred to me that <span lang=\"en-US\">it even <\/span>sums up what <span lang=\"en-US\">CDT <\/span>is about:<br \/>\n<b>Context <span lang=\"en-US\">D<\/span>riven <span lang=\"en-US\">T<\/span>esting is about <i>doing it right<\/i>, not about doing <i>all the right things<\/i>. <\/b><br \/>\nNote that I&#8217;ve added the word &#8216;all&#8217; here.<br \/>\n<span lang=\"en-US\">There&#8217;s more to CDT of course, but this is <\/span><span lang=\"en-US\"><i>the core <\/i><\/span><span lang=\"en-US\">of CDT &#8211; to me. <\/span><span lang=\"en-US\">S<\/span>ome readers may lift their eyebrows over the \u201ddoing it right\u201d-thing: \u201dDoes he mean that there is ONE right way to do it?\u201d Read on&#8230;<br \/>\nThe past 10 years, I&#8217;ve worked in contexts where CDT is not really <i>the thing<\/i> we do, and if I was to be as context driven as managers in my context <span lang=\"en-US\">had <\/span>ask<span lang=\"en-US\">ed<\/span> me to be, I would not really <span lang=\"en-US\">have been <\/span>context driven. You get the picture, I&#8217;m sure.<br \/>\n<span lang=\"en-US\">But w<\/span>ith CDT in my briefcase, I can work to make changes and improving things <i>in the specific context<\/i> in which I&#8217;m working. As a consultant and contractor, I&#8217;m usually hired to fix a problem, not to revolutionize things, <span lang=\"en-US\">and I&#8217;m expected to do a \u201cgood job\u201d fixing it.<\/span><br \/>\n\u201dDoing it right\u201d is of course about doing a good job, and \u201ddoing a good job\u201d should really not be taken lightly. CDT helps me do a good job, even when I&#8217;m not working in contexts that actively supports <span lang=\"en-US\">CDT<\/span>. <span lang=\"en-US\">That&#8217;s because <\/span>CDT is flexibl<span lang=\"en-US\">e:<\/span> <span lang=\"en-US\">It empahsizes that <\/span>testing should <span lang=\"en-US\">never be <\/span>driven by manuals, standards or instructions, but by the <span lang=\"en-US\">actual<\/span> context in which it takes place, <span lang=\"en-US\">and that&#8217;s actually quite <\/span><b>difficult to disagree with<\/b>, even for <span lang=\"en-US\">old school project <\/span><span lang=\"en-US\">manager<\/span><span lang=\"en-US\">s<\/span><span lang=\"en-US\">!<\/span><\/p>\n<p lang=\"en-US\">Further, if my context (i.e. project manager) ask me to do something, I do it \u2013 even if it&#8217;s in a standard. Sometimes there&#8217;s a good reason to use a standard.<\/p>\n<p><span lang=\"en-US\"><b>Context driven testing is not <\/b><\/span>defined by <span lang=\"en-US\">any <\/span>methods or even by a certain set of heuristics. Nor is it defined by a book, standard or manual. <span lang=\"en-US\">Neither is there any <\/span>formal education, certification or \u201dclub\u201d that you have to be a member of in order to call yourself Context Driven.<br \/>\nInstead, Context Driven Testing is about committing oneself to some core values, and to me the most important value in CDT is contained in the sentence:<br \/>\n<i><b>It&#8217;s about doing it right, not about doing all the right things.<\/b><\/i><\/p>\n<p lang=\"en-US\">Why would anyone wan&#8217;t anything else?<\/p>\n<p lang=\"en-US\"><em>(Thanks to <a title=\"Jesper L. Ottosen on Twitter\" href=\"https:\/\/twitter.com\/jlottosen\" target=\"_blank\" rel=\"noopener noreferrer\">@jlottossen<\/a> for reviewing this post and for suggesting several changes to the original version.)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Context driven testing is not defined by any methods or even by a certain set of heuristics. Nor is it defined by a book, standard or manual. Neither is there any formal education, certification or \u201dclub\u201d that you have to be a member of in order to call yourself Context Driven. In this blog post, I explore what Context Driven Testing is about.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[26,83,94],"_links":{"self":[{"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/posts\/708"}],"collection":[{"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/comments?post=708"}],"version-history":[{"count":0,"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/posts\/708\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/media?parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/categories?post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asym.dk\/index.php\/wp-json\/wp\/v2\/tags?post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}