<?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: unit test and bug fixing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274064#M494286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; recently I am trying test-driven development(TDD) , using the eCATT Test data containers in abap unit-test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program contain 3 class, and I want to write unit test for them. But I have some question:&lt;/P&gt;&lt;P&gt;1 one of my class is some select form table vbak/vbfa/bkpf/bseg , but I don't know how to test this kind method. how do I access the eCATT data instead of the table vbak/vbfa/bkpf/bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 can you show me some example of this TDD program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your sincerely answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 06:40:08 GMT</pubDate>
    <dc:creator>former_member189009</dc:creator>
    <dc:date>2014-08-05T06:40:08Z</dc:date>
    <item>
      <title>unit test and bug fixing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274061#M494283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai i m an abap devoloper i need to know how to fix a bug and how unit test is evaluated or how its done can u briefly explain me ,i know errors detactin thru debuggger then whats for unit test can u explain me this concept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274061#M494283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: unit test and bug fixing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274062#M494284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unit (Functional) TestingSAP Component or Feature Available 	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Services&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1. Unit (functional) testing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unit Testing&lt;/P&gt;&lt;P&gt;   1. A process for verifying that software, a system, or a system component performs its intended functions.&lt;/P&gt;&lt;P&gt;   2. Unit transactions are tested against their own specifications and design documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unit testing is done in bit and pieces. Like e.g. in SD standard order cycle; we do have 1-create order, then 2-delivery, then 3-transfer order, then 4-PGI and then 5-Invoice.  So we will be testing 1,2,3,4 and 5 separately alone one by one using test cases and test data. We will not be looking and checking/testing any integration between order and delivery; delivery and TO; TO and PGI and then invoice.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Integration Testing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   1. An orderly progression of testing in which software elements, hardware elements or both are combined and tested until the entire system has been integrated.&lt;/P&gt;&lt;P&gt;   2. Integration tests deal mainly with the testing of cross-application process chains in addition to transactions and business processes. The process models and the test cases derived from these form the basis of these tests.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274062#M494284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: unit test and bug fixing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274063#M494285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unit Tests are defined and performed by developers. A process consists usually of several functions. Each of this function usually consists of "sub-functions" corresponding to a single method or a group of methods (if you are developing OO-based).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unit Tests could be described as white-box tests whereas a normal tester (which should be not identical to the developer) will test entire functions (black-box tests).&lt;/P&gt;&lt;P&gt;You have to have the ABAP unit implemented in the code for this to be used...pls see the link from SAP help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/7c1440a1c32402e10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/c4/7c1440a1c32402e10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below link. It will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+unit&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+unit&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 05:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274063#M494285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T05:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: unit test and bug fixing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274064#M494286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp; recently I am trying test-driven development(TDD) , using the eCATT Test data containers in abap unit-test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program contain 3 class, and I want to write unit test for them. But I have some question:&lt;/P&gt;&lt;P&gt;1 one of my class is some select form table vbak/vbfa/bkpf/bseg , but I don't know how to test this kind method. how do I access the eCATT data instead of the table vbak/vbfa/bkpf/bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 can you show me some example of this TDD program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your sincerely answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 06:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274064#M494286</guid>
      <dc:creator>former_member189009</dc:creator>
      <dc:date>2014-08-05T06:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: unit test and bug fixing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274065#M494287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's a bit late but in case you're still looking looking for informations about unit testing &lt;/P&gt;&lt;P&gt;look at this post here in SCN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="81917" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="ABAP Unit Tests without database dependency - DAO concept" href="https://community.sap.com/" modifiedtitle="true" title="ABAP Unit Tests without database dependency - DAO concept"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Sep 2015 18:41:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unit-test-and-bug-fixing/m-p/2274065#M494287</guid>
      <dc:creator>dirk_wittenberg</dc:creator>
      <dc:date>2015-09-20T18:41:34Z</dc:date>
    </item>
  </channel>
</rss>

