<?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 Using ABAP unit to test complete application ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081093#M1180048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using ABAP Unit after reading about its benefits from many blogs and I am new to the concept fof automated Unit test. I have succeeded in writing and executing tests for methods of a class, however my complete application consists of different classes which interact with each other. I have written a wrapper report to dynamically call methods in the classes which i require at run time. My question is can I use ABAP unit to test the complete appln ?? eg. My app requires a XML file as input and it changes something in the system depending on the file. So can I write a test scenario using the ABAP unit framework to give various XML files and test various scenarios... remember my appln can be run by running the report....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the long post, thought I'd better express myself clearly... any thoughts appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I have read the SAP documentation n examples also various SDN blogs on ABAP Unit most speak of only trivial examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2009 09:05:20 GMT</pubDate>
    <dc:creator>aditya_aghor</dc:creator>
    <dc:date>2009-01-22T09:05:20Z</dc:date>
    <item>
      <title>Using ABAP unit to test complete application ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081093#M1180048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using ABAP Unit after reading about its benefits from many blogs and I am new to the concept fof automated Unit test. I have succeeded in writing and executing tests for methods of a class, however my complete application consists of different classes which interact with each other. I have written a wrapper report to dynamically call methods in the classes which i require at run time. My question is can I use ABAP unit to test the complete appln ?? eg. My app requires a XML file as input and it changes something in the system depending on the file. So can I write a test scenario using the ABAP unit framework to give various XML files and test various scenarios... remember my appln can be run by running the report....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the long post, thought I'd better express myself clearly... any thoughts appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I have read the SAP documentation n examples also various SDN blogs on ABAP Unit most speak of only trivial examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 09:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081093#M1180048</guid>
      <dc:creator>aditya_aghor</dc:creator>
      <dc:date>2009-01-22T09:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using ABAP unit to test complete application ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081094#M1180049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use ABAP Unit tests for your pupose but the appropriate testing tool at this kind of integration level would be &lt;STRONG&gt;eCATT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 10:34:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081094#M1180049</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-01-22T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using ABAP unit to test complete application ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081095#M1180050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a clarification required. Just to rephrase you mean that I continue using ABAP unit to test the individual methods as before but when I have to test the complete application I switch to eCATT ?? I assume you are saying this cause as per Unit Test definition Unit refers to the smallest part namely methods and since I have to test interaction between various method calls hence eCATT ?? ( just want to understand the flow of thought &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do indeed use eCATT ( on which I ll have to spend time learning ) for testing complete appln what type of output will it provide ?? like if I am reading the XML file and then doing some mapping and then calling an RFC by using eCATT will I be able to see the effect of that successful execution of RFC (or its failure in the eCATT GUI ??.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 10:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081095#M1180050</guid>
      <dc:creator>aditya_aghor</dc:creator>
      <dc:date>2009-01-22T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using ABAP unit to test complete application ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081096#M1180051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, my suggestion implies to use the combination of both testing methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the eCATT you define - like you do in the ABAP Unit test - the input and expected output. And eCATT stores a detailed log of the testing run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 10:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081096#M1180051</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-01-22T10:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using ABAP unit to test complete application ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081097#M1180052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uwe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep thx, I think I ll try to use a combination of the two and see if its any good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 11:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-abap-unit-to-test-complete-application/m-p/5081097#M1180052</guid>
      <dc:creator>aditya_aghor</dc:creator>
      <dc:date>2009-01-22T11:04:00Z</dc:date>
    </item>
  </channel>
</rss>

