‎2007 Jun 05 2:53 PM
how do do the Unit testing....and what is the transaction code for TESTING?
Plz send me answer u will get points if give good answer.
‎2007 Jun 05 2:56 PM
Hi Narsaiah,
Unit testing is nothing but debug testing ...
Unit testing is done with your stand alone development say a class or a program developed by you and is done by a person from testing team. In this you will check for negative logic (something like what will happen if you dont enter correct values to the input parameters), labels and also for getting output with maximum possible inputs. Normally there are guidelines available for this with testing team. It is mostly a generic guideline for all the platforms say SAP or JAVA... So the starting point of this testing is your development. The most important things to be checked are the texts in your error or warning or information messages, labels printed in the screens and or header, footers. Also verify the output format is matching with what is mentioned in the functional spec by the object owner from client side.
ABAP Unit Testing can, if done very carefully and extensively, almost completely replace debugging which is a synonym for unsystematic testing.
Unit Tests bridge the gap between low-level testing and high-level testing of entire processes using eCATT.
If you have a class with several methods of a function group with several function modules you can define for each method and function module one or many Unit Tests. Using these Unit Tests you can demonstrate that your methods and function modules work according to you expectations. Even more important, when you change your coding you can use your Unit Tests to check whether you accidentially introduced some error.
Another very interesting way of programming is test-driven development (TDD). This basically means that you create a test first based on the specification which, of course, will fail in the beginning because there isn't any application. Now you develop until the Unit Test will be passed.
Reward if useful.
Thanks
Aneesh.
‎2007 Jun 05 3:09 PM
‎2007 Jun 06 5:45 AM
hi,
There is no seperated tcode for unit testing.Unit Testing is nothing but the testing the obejct developed with the some test data provided by the client to meet their requirmeents.
Reward points if it is helpful.
Regards,
Sangeetha.a
‎2007 Jun 06 9:32 AM
>>Unit testing is a method of testing the correctness of a particular module of source code. I SAP terms in can be testing of a report,transaction,function module or any piece of code.
In SAP system we have two free testing tool one is CATT ans eCATT.
To launch these testing tools use SCAT and SECATT tranactions.
for more information about eCATT testing tool have a look at the below links,
http://saptechnical.com/Tutorials/eCATT/eCATTMain.htm
http://www.erpgenie.com/ecatt/index.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
Let me know i incase if u need anything further.
Hope this helps.
-Manjula P