‎2007 May 14 6:01 AM
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
‎2007 May 14 6:22 AM
Unit (Functional) TestingSAP Component or Feature Available
Services
1. Unit (functional) testing
Unit Testing
1. A process for verifying that software, a system, or a system component performs its intended functions.
2. Unit transactions are tested against their own specifications and design documents.
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.
Integration Testing
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.
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.
‎2007 May 14 6:29 AM
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).
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).
You have to have the ABAP unit implemented in the code for this to be used...pls see the link from SAP help..
http://help.sap.com/saphelp_nw04/helpdata/en/a2/8a1b602e858645b8aac1559b638ea4/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/7c1440a1c32402e10000000a1550b0/frameset.htm
Have a look at below link. It will help you.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+unit&;
‎2014 Aug 05 7:40 AM
Hi
recently I am trying test-driven development(TDD) , using the eCATT Test data containers in abap unit-test.
My program contain 3 class, and I want to write unit test for them. But I have some question:
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.
2 can you show me some example of this TDD program ?
Thank you for your sincerely answer.
‎2015 Sep 20 7:41 PM