{"id":166,"date":"2007-10-27T19:02:00","date_gmt":"2007-10-27T19:02:00","guid":{"rendered":"\/lisa\/post\/2007\/10\/27\/It-was-a-different-context-sorta-thing.aspx"},"modified":"2021-08-30T13:45:36","modified_gmt":"2021-08-30T20:45:36","slug":"it-was-a-different-context-sorta-thing","status":"publish","type":"post","link":"https:\/\/spacefold.com\/lisa\/2007\/10\/27\/it-was-a-different-context-sorta-thing\/","title":{"rendered":"It was a different context sorta thing"},"content":{"rendered":"<p class=\"NB\">The title of this post is a quote from Everton in the BBC television series <strong>Chef!<\/strong>,\u00a0which stars\u00a0Lenny Henry.\u00a0If you don&#8217;t know what I&#8217;m talking about, you need to <a title=\"Lenny Henry- Chef! series - at Amazon\" href=\"http:\/\/www.amazon.com\/Chef-Complete-Collection-Hilary-Lyon\/dp\/B0009NSCTY\/ref=pd_bbs_sr_1\/105-2568368-5138037?ie=UTF8&amp;s=dvd&amp;qid=1193609040&amp;sr=8-1\" target=\"_blank\" rel=\"noopener\">buy this<\/a> or find somebody to borrow it from.<\/p>\n<p>I&#8217;m just sayin&#8217;.<\/p>\n<p>I&#8217;ve reformatted and posted a couple of old-but-new articles in the <a title=\"Spacefold article index\" href=\"\/articles\/\">Spacefold articles<\/a>\u00a0section today.<\/p>\n<p>This time and effort doesn&#8217;t count as\u00a0a distraction from\u00a0VFP-TMM, because one of the articles was my attempt to doc something (<a title=\"Spacefold article: Gaining Image Control in Reports\" href=\"\/articles\/blobimage\" target=\"_blank\" rel=\"noopener\">using Image Controls in reports<\/a>) that was underwhelmingly documented in the RTM-timeframe.\u00a0 In my general VFP-TMM plans, I am resolutely not looking further back than what should have been added in SP1 docs. But this particular item needed help almost immediately after RTM.\u00a0I wrote this article to leverage\u00a0FoxTalk as a platform\u00a0that could support this missing docoid, little knowing what a shaky platform it would be.<\/p>\n<p>It also doesn&#8217;t count towards not moving towards my goal of posting <em>non-<\/em>VFP-centric topics this weekend because one of these old articles is about a subject that is dear to my heart no matter what environment or language I happen to be working in: <a title=\"Spacefold article: Coverage and Advanced Testing\" href=\"\/articles\/covtesting\" target=\"_blank\" rel=\"noopener\">Coverage and Testing<\/a>.\u00a0 Rather than explain further, I&#8217;m just going to\u00a0repeat the entire (new) introduction to the article here. It serves to show how all my\u00a0technical interests tend to converge at a couple of key points&#8230; and it also does a reasonable job of explaining why I\u00a0continue to find\u00a0this particular article relevant.<\/p>\n<blockquote><p>This article is taken from session notes I delivered at a couple of conferences in 1998. I dug it out in 2006 to show Bob Lewis how long I have been quoting him.<\/p>\n<p><strong>If you don&#8217;t already read Bob Lewis, stop reading this right now and get yourself to <\/strong><a href=\"http:\/\/www.issurvivor.com\/\"><strong>www.issurvivor.com<\/strong><\/a><strong>, where you will truly find words to live by. <\/strong><\/p>\n<p>The (extensive) source for this article is available in <a href=\"\/downloads-index\/\">Spacefold downloads<\/a>. I dug it out for this Spacefold publication event, so there is no guarantees that it exactly matches the text of the article, which may have been taken from a different \u00a0version of the session notes. \u00a0 It has some interesting examples of leveraging the shipping COVERAGE.APP interfaces. You&#8217;ll find more information on this subject <a href=\"https:\/\/spacefold.com\/lisa\/archive\/retirement-home\/\">in an old article titled Visual FoxPro Coverage Profiler Add-Ins and Subclasses<\/a>, if you&#8217;re interested.<\/p>\n<p>You&#8217;ll notice that one of the add-ins in that old piece gives you a way to display stack-level information, which is discussed briefly in this piece as not having any default representation in COVERAGE.APP. As you may know, we later updated COVERAGE.APP to have a simple representation of stack level information using XML and XSLT. You&#8217;ll find more information on that COVERAGE.APP change, as an illustration of XML capabilities and applicability in VFP, in <a href=\"https:\/\/spacefold.com\/lisa\/archive\/retirement-home\/\">another piece<\/a> I wrote to discuss the relationship of VFP and XML a long time ago.<\/p>\n<p>Of course, even though VFP7&#8217;s COVERAGE.APP provides only a \u00a0simple stack representation, it&#8217;s XML + XSLT, so you don&#8217;t have to live with it in the delivered format &#8212; <a href=\"\/lisa\/2007\/10\/28\/After-you-learn-to-walk-you-can-run-a-postscript-to-the-QnD-XSLT-walkthrough\/\">please keep that in mind<\/a>. Naturally, when we added this feature to COVERAGE.APP we also <a href=\"\/wp-content\/include-me\/CovTesting_images\/VFP7CoverageOptions.png\">added a configuration option<\/a> so you could change the XSLT. Go to town, write some XAML!<\/p>\n<p>As another version note, there is a section discussing using the shipping COVERAGE.APP with VFP 5; keep in mind that the app originally shipped with VFP 6.<\/p>\n<p><em>It&#8217;s all interesting, and it&#8217;s all interconnected. But the source, and all these ways you can leverage COVERAGE.APP, no matter how extensive, \u00a0isn&#8217;t the point.<\/em><\/p>\n<p>After you&#8217;ve grokked Bob and Bob&#8217;s wisdom on \u00a0<a href=\"http:\/\/www.issurvivor.com\/\">http:\/\/www.issurvivor.com\/<\/a> and have returned to read this article, you will find some advice \u00a0that&#8217;s really timeless.\u00a0 That&#8217;s why I&#8217;m re-publishing it now. Understanding coverage and code profiling, creating good test practices, policies, teams, and plans, are requirements that never go away.<\/p>\n<p>It&#8217;s also not coding-environment specific. If someone has recommended this article to you and you are not a VFP programmer, don&#8217;t leave too quickly. Read the intro and then skip down to the testing section that follows the VFP-specific implementation details.<\/p><\/blockquote>\n<p>Back to working on a dynamic RS-SQL walkthrough now&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The title of this post is a quote from Everton in the BBC television series Chef!,\u00a0which stars\u00a0Lenny Henry.\u00a0If you don&#8217;t know what I&#8217;m talking about, you need to buy this or find somebody to borrow it from. I&#8217;m just sayin&#8217;. I&#8217;ve reformatted and posted a couple of old-but-new articles in the Spacefold articles\u00a0section today. This<a class=\"more-link\" href=\"https:\/\/spacefold.com\/lisa\/2007\/10\/27\/it-was-a-different-context-sorta-thing\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-general-techspeak"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/comments?post=166"}],"version-history":[{"count":4,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/166\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/166\/revisions\/398"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/media?parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/categories?post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/tags?post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}