Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unit testing

Former Member
0 Likes
637

What is Unit testing and how shall we start it

Give me step by step procedure relating to that

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

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

4 REPLIES 4
Read only

Former Member
0 Likes
568

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

Read only

former_member283648
Participant
0 Likes
567

Hi,

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.

Hope this helps u

Read only

Former Member
0 Likes
567

Have a look at below link. It will help you.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+unit&;

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
567

This message was moderated.