‎2006 Nov 21 7:09 PM
hi experts,
can any one plz tell how is unit testing done in real time. wht is the whole process .
wht is the diff between the header data table and item data table ex: vbak and vbap.
‎2006 Nov 21 7:10 PM
Hi,
The table VBAK will contain the header data like sold-to, customer po number ...etc
The table VBAP will contain the item data like material, quantity, unit of measure, net price..etc..
Thanks,
Naren
‎2006 Nov 21 8:57 PM
Hello Amar
I completely disagree with Santosh that
<i>Unit testing is nothing but debug testing ...</i>
‎2006 Nov 21 9:10 PM
Hello Amar
I send my reply prematurely.
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 <b>test-driven development (TDD).</b> 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.
You will find in the SDN Weblogs about Test-Driven Developement and ABAP Unit Tests.
Regards
Uwe
‎2007 Mar 21 9:37 AM
Hai Uwe,
In unit testing we must know the actual and expected values.how is it possible in real time programming.
And you have quoted "when you change your coding you can use your Unit Tests to check whether you accidentially introduced some error".
i have gone through the web logs,but couldnt find how to do this.
Please clarify.
Thanx in Advance
Farook
‎2015 Apr 14 10:15 AM
Unit Testing Vs UAT. Unit test is the consultant testing their config or development.
|
‎2015 Apr 14 10:58 AM
The Difference betweem Header data table (ex:- Vbak) and Item data table (ex:- vbap) is in VBAK you will have the Sale Order Number for the sale of a customer that has been done, as it contains all the Header sales like this That is why VBAK is called as Sale Order Header Table and in VBAP you will have all the item details done for that particular sale order number, for one sale order there will be multiple items thats why VBAP is Item data table.