<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499067#M285061</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have DI jobs that we create.&lt;/P&gt;&lt;P&gt;In one DI job we have lots of tasks done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you unit test your DI jobs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we write Macros, it is easy to have modules that we unit test. Different story with DI jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Henrik&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Sep 2018 13:16:44 GMT</pubDate>
    <dc:creator>HeG</dc:creator>
    <dc:date>2018-09-26T13:16:44Z</dc:date>
    <item>
      <title>SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/463995#M285059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would anyone know of any resources for the above? I have been asked to draft a list of testing guidelines / dev standards and was wondering if there is much info around.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 10:28:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/463995#M285059</guid>
      <dc:creator>Jason1</dc:creator>
      <dc:date>2018-05-22T10:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/464062#M285060</link>
      <description>&lt;P&gt;Every implementation/system is kinda unique, but you wish for some eatable sizes for each part I guess.&lt;/P&gt;
&lt;P&gt;SAS Unit test is for me equal SAS DI Job. And tested often by developer, and potentially fellow developer (four eye principle).&lt;/P&gt;
&lt;P&gt;Job Flow might be tested by third person, like system admin (depending on your staffing).&lt;/P&gt;
&lt;P&gt;Managing data (files) can be a whole library of best practices, and usually ave som many site specific constraints...so I leave it for now.&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 14:26:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/464062#M285060</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-05-22T14:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499067#M285061</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have DI jobs that we create.&lt;/P&gt;&lt;P&gt;In one DI job we have lots of tasks done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you unit test your DI jobs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we write Macros, it is easy to have modules that we unit test. Different story with DI jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Henrik&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 13:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499067#M285061</guid>
      <dc:creator>HeG</dc:creator>
      <dc:date>2018-09-26T13:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499758#M285062</link>
      <description>&lt;P&gt;Unit testing is normally done by a developer (the primary developer or even better a peer). You execute the DIS job directly out of DIS or in batch and check against pre-defined unit test cases.&lt;/P&gt;
&lt;P&gt;You check the log for any anomalies (warnings and the like; can be one of the unit test cases) and you check if you meet all the unit test cases - and you maintain a log of your testing with failure/success against each test case. Once complete/successful you handover&amp;nbsp;your objects for the next level of testing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 02:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499758#M285062</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-09-28T02:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Unit Test, DI Studio flow testing and managing data files on a SAS grid</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499774#M285063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me Unit test is "testing bits of your code in isolation with test code"&lt;/P&gt;&lt;P&gt;DI jobs will create a sas file with different behaviors so how do you test "each" behavior with one unit test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The greatest pitfall is that developers test too large a unit, or they consider a method a unit. This is particularly true if you don't understand&amp;nbsp;Inversion of Control&amp;nbsp;- in which case your unit tests will always turn into end-to-end integration testing. Unit test should test individual behaviors - and most methods have many behaviors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue howto do that?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 06:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Unit-Test-DI-Studio-flow-testing-and-managing-data-files-on/m-p/499774#M285063</guid>
      <dc:creator>HeG</dc:creator>
      <dc:date>2018-09-28T06:18:15Z</dc:date>
    </item>
  </channel>
</rss>

