﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Real Automated Code Testing for Oracle</title>
    <description>&lt;table cellspacing="1" cellpadding="1"&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;img height="183" width="139" alt="" src="/Portals/0/Blog/blog-QCTO.png" /&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;
            &lt;p&gt;This is the official blog for Quest's Code Tester for Oracle.&lt;/p&gt;
            &lt;p&gt;&lt;font color="#003366" size="3"&gt;&lt;strong&gt;Recent postings:&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
&lt;/table&gt;</description>
    <link>http://www.toadworld.com/BLOGS/tabid/67/BlogId/32/Default.aspx</link>
    <language>en-US</language>
    <managingEditor>QCTO Blog</managingEditor>
    <webMaster>webmaster@toadworld.com</webMaster>
    <pubDate>Thu, 18 Mar 2010 14:26:56 GMT</pubDate>
    <lastBuildDate>Thu, 18 Mar 2010 14:26:56 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.2.0.15477</generator>
    <item>
      <title>Handling Complicated Tasks More Easily</title>
      <description>&lt;div&gt;Did you know that in &lt;a href="http://www.toadworld.com/LinkClick.aspx?link=430&amp;tabid=67"&gt;Code Tester&lt;/a&gt; 1.8.5 you can now perform in-line validation of your customization code? For more complex tests, this will save you lots of time and make it easier to build your regression tests.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The ultimate objective of Code Tester is easy to state: allow developers to test arbitrarily complex PL/SQL programs without writing &lt;em&gt;any&lt;/em&gt; test code. That turns out to be really hard to do, so as we get Code Tester closer and closer to that goal, we also offer the ability to fully customize every aspect of your tests.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;One of the nicest new features in Code Tester 1.8.5 is the ability to perform "in-line" validation of customization code. Prior to 1.8.5, the only way to see if your custom code had compile errors was to generate the test package, which meant that you had to close the window in which you entered the code. If that test package had errors, you had to then circle back to that window - a cumbersome process that frustrated users.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;There are two ways to determine if the custom code you entered has compilation errors:&lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Generate the test code (which will automatically happen the next time you try to run a test), which also attempts to compile the test package that will contain your test code.&lt;br /&gt;
     &lt;/li&gt;
    &lt;li&gt;Ask Code Tester to perform in-place validation (while the customization window is still open). The steps to request in-place validation vary depending on if you are in Test Builder or Test Editor.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;Test Builder In-Place Validation&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In Test Builder, when you have the customization window open for the test case, you can ask Code Tester to check for errors in three ways:&lt;/p&gt;
&lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Press Ctl-Alt-V. &lt;/li&gt;
    &lt;li&gt;Select "Check for Errors" from the right click menu &lt;/li&gt;
    &lt;li&gt;Press the "Check for Errors" button.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;p&gt;All three options are shown below:&lt;/p&gt;
&lt;p&gt;&lt;img height="270" alt="" width="580" src="http://www.toadworld.com/Portals/0/blogimages/QCTO/QCTO_110909-1.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;Test Editor In-Place Validation&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;When you press on the Customization tab at any level within the test definition, you can then edit custom code. Within this window, you can ask Code Tester to check for errors in three ways:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Press Ctl-Alt-V.&lt;br /&gt;
     &lt;/li&gt;
    &lt;li&gt;Select "Check for Errors" from the right click menu&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;Both these options are shown below:&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;img alt="" src="http://www.toadworld.com/Portals/0/blogimages/QCTO/QCTO_110909-2.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;When No Errors Are Found&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If the custom code has no errors, then you will see this window:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://www.toadworld.com/Portals/0/blogimages/QCTO/QCTO_110909-3.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;strong&gt;&lt;font size="4"&gt;When Errors Are Found&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If your custom code contains one or more errors, Code Tester will open a window that contains all the customization code for the current element and also...&lt;/p&gt;
&lt;/div&gt;
&lt;ul&gt;
    &lt;li&gt;Custom code for elements above it in the test definition hierarchy.&lt;/li&gt;
    &lt;li&gt;If you ask to validate input or outcome custom code, custom code for &lt;em&gt;all&lt;/em&gt; inputs.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;If, for example, you request validation of test case custom code, you will also see in this window unit test custom code (if present). Code Tester does this because the test case custom code might reference custom code at that higher level.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;All inputs are included because an outcome's customization code may also reference a local variable holding an input value.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;You will see at the bottom of the window a grid of all errors reported from Oracle's USER_ERRORS data dictionary view. You can click on a line number in that grid and that line of code will be shown.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;You cannot change any of the code in this window. Instead, you must close the window, change your code, and validate again.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;Here is an example of the window:&lt;/p&gt;
&lt;p&gt;&lt;img alt="" src="http://www.toadworld.com/Portals/0/blogimages/QCTO/QCTO_110909-4.gif" /&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;</description>
      <link>http://www.toadworld.com/BLOGS/tabid/67/EntryID/471/Default.aspx</link>
      <author>QCTO Blog</author>
      <comments>http://www.toadworld.com/BLOGS/tabid/67/EntryID/471/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.toadworld.com/Default.aspx?tabid=67&amp;EntryID=471</guid>
      <pubDate>Mon, 09 Nov 2009 08:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.toadworld.com/DesktopModules/Blog/Trackback.aspx?id=471</trackback:ping>
    </item>
  </channel>
</rss>